Commit 2b4ae544 authored by Romain Reuillon's avatar Romain Reuillon
Browse files

[Build] enh: create common version file

parent f35f19da
Pipeline #634 passed with stages
in 14 minutes and 51 seconds
import com.typesafe.sbt.osgi.OsgiKeys._
import org.openmole.buildsystem._
import openmole.common._
def dir = file("bundles")
def settings = Seq(
......@@ -236,8 +238,6 @@ lazy val squants =
) settings(settings: _*)
lazy val mgoVersion = "3.44"
lazy val mgo = OsgiProject(dir, "mgo", exports = Seq("mgo.*", "freestyle.*"), imports = Seq("!better.*", "!javax.xml.*", "!scala.meta.*", "!sun.misc.*", "*"), privatePackages = Seq("!scala.*", "!monocle.*", "!org.apache.commons.math3.*", "!cats.*", "!squants.*", "!scalaz.*", "*")) settings(
libraryDependencies += "org.openmole" %% "mgo" % mgoVersion,
version := mgoVersion) dependsOn(monocle, math, cats, squants) settings(settings: _*)
......@@ -356,8 +356,6 @@ lazy val sourceCode = OsgiProject(dir, "sourcecode") settings (
version := sourceCodeVersion
) settings(settings: _*)
def gridscaleVersion = "2.30"
lazy val gridscale = OsgiProject(dir, "gridscale", imports = Seq("*"), exports = Seq("gridscale.*", "enumeratum.*")) settings (
libraryDependencies += "org.openmole.gridscale" %% "gridscale" % gridscaleVersion,
version := gridscaleVersion
......
../../openmole/project/common.scala
\ No newline at end of file
......@@ -5,6 +5,8 @@ import Keys.{libraryDependencies, _}
import org.scalajs.sbtplugin.ScalaJSPlugin.autoImport._
import execnpm.NpmDeps.Dep
import _root_.openmole.common._
organization := "org.openmole"
name := "openmole-root"
......
......@@ -4,12 +4,12 @@ import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport._
import sbt.Keys._
import sbt._
import openmole.common._
object Libraries {
lazy val gridscaleVersion = "2.30"
lazy val sshjVersion = "0.27.0"
lazy val containerVersion = "1.11"
lazy val mgoVersion = "3.44"
lazy val bouncyCastleVersion = "1.64"
lazy val netLogo5Version = "5.3.1"
lazy val netLogo6Version = "6.1.1"
......
package openmole
object common {
def gridscaleVersion = "2.30"
def mgoVersion = "3.44"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment