Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
openmole
openmole
Commits
2b4ae544
Commit
2b4ae544
authored
Jun 29, 2020
by
Romain Reuillon
Browse files
[Build] enh: create common version file
parent
f35f19da
Pipeline
#634
passed with stages
in 14 minutes and 51 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
libraries/build.sbt
View file @
2b4ae544
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
...
...
libraries/project/common.scala
0 → 120000
View file @
2b4ae544
../../
openmole
/
project
/
common
.
scala
\ No newline at end of file
openmole/build.sbt
View file @
2b4ae544
...
...
@@ -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"
...
...
openmole/project/Libraries.scala
View file @
2b4ae544
...
...
@@ -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"
...
...
openmole/project/common.scala
0 → 100644
View file @
2b4ae544
package
openmole
object
common
{
def
gridscaleVersion
=
"2.30"
def
mgoVersion
=
"3.44"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment