Libraries.scala 7.73 KB
Newer Older
Mathieu Leclaire's avatar
Mathieu Leclaire committed
1
import org.scalajs.sbtplugin.ScalaJSPlugin.autoImport._
Romain Reuillon's avatar
Romain Reuillon committed
2

Mathieu's avatar
Mathieu committed
3
import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport._
4
5
import sbt.Keys._
import sbt._
6

7
8
import openmole.common._

9
object Libraries {
10

Mathieu's avatar
Mathieu committed
11
12
  lazy val bootstrapnative = libraryDependencies += "org.openmole.scaladget" %%% "bootstrapnative" % scaladgetVersion
  lazy val lunr = libraryDependencies += "org.openmole.scaladget" %%% "lunr" % scaladgetVersion
13

Mathieu's avatar
Mathieu committed
14
15
16
  lazy val sortable = libraryDependencies += "org.openmole" %%% "sortable-js-facade" % sortableVersion
  lazy val ace = libraryDependencies += "org.openmole.scaladget" %%% "ace" % scaladgetVersion
  lazy val scaladgetTools = libraryDependencies += "org.openmole.scaladget" %%% "tools" % scaladgetVersion
Romain Reuillon's avatar
Romain Reuillon committed
17
18
19
20
  lazy val scalajsDomJS = libraryDependencies += "org.scala-js" %%% "scalajs-dom" % scalaJSDomVersion
  lazy val rxJS = libraryDependencies += "com.lihaoyi" %%% "scalarx" % rxVersion
  lazy val scalaTagsJS = libraryDependencies += "com.lihaoyi" %%% "scalatags" % scalaTagsVersion
  lazy val autowireJS = libraryDependencies += "com.lihaoyi" %%% "autowire" % scalaAutowireVersion
Mathieu's avatar
Mathieu committed
21
  lazy val boopickleJS = libraryDependencies += "io.suzaku" %%% "boopickle" % boopickleVersion
22
  lazy val sourcecodeJS = libraryDependencies += "com.lihaoyi" %%% "sourcecode" % sourcecodeVersion
Mathieu's avatar
Mathieu committed
23
  lazy val highlightJS = libraryDependencies += "org.openmole.scaladget" %%% "highlightjs" % scaladgetVersion
24
  lazy val htmlparser2 = libraryDependencies += "com.definitelyscala" %%% "scala-js-htmlparser2" % "1.0.2"
Mathieu's avatar
Mathieu committed
25
  lazy val plotlyJS =  libraryDependencies += "org.openmole" %%% "scala-js-plotlyjs" % "1.5.2"
Mathieu's avatar
Mathieu committed
26
27
  lazy val scalaCompatJS =  libraryDependencies += "org.scala-lang.modules" %%% "scala-collection-compat" % "2.1.6"

28

29
  lazy val scalatest = "org.scalatest" %% "scalatest" % "3.1.2" % "test"
Romain Reuillon's avatar
Romain Reuillon committed
30

31

32
33
  /** ------- Bundles -------------- */

34
35
36
  def addScalaLang(scalaVersion: String) =
    libraryDependencies ++= Seq(
      "org.openmole.library" %% "org-scala-lang-scala-library" % scalaVersion,
37
      "org.scalameta" %% "scalameta" % "4.3.15"
38
    )
39

40
  lazy val scalatra = "org.openmole.library" %% "org-scalatra" % scalatraVersion
41
42
  lazy val logback = "org.openmole.library" %% "ch-qos-logback" % logbackVersion
  lazy val h2 = "org.openmole.library" %% "org-h2" % h2Version
43
  lazy val bonecp = "org.openmole.library" %% "com-jolbox-bonecp" % "0.8.0.RELEASE"
44
  lazy val slick = "org.openmole.library" %% "com-typesafe-slick" % slickVersion
45
  lazy val slf4j = "org.openmole.library" %% "org-slf4j" % "1.7.30"
Romain Reuillon's avatar
Romain Reuillon committed
46
  lazy val xstream = "org.openmole.library" %% "com-thoughtworks-xstream" % xstreamVersion
47
  lazy val jasypt = "org.openmole.library" %% "org-jasypt-encryption" % jasyptVersion
48
  lazy val opencsv = "org.openmole.library" %% "au-com-bytecode-opencsv" % "2.3"
49
  lazy val arm = "org.openmole.library" %% "com-jsuereth-scala-arm" % "2.1"
50
  lazy val scalajHttp = "org.openmole.library" %% "org-scalaj-scalaj-http" % "2.4.2"
51
  lazy val scopt = "org.openmole.library" %% "com-github-scopt" % scoptVersion
52
  lazy val scalabc = "org.openmole.library" %% "fr-iscpif-scalabc" % "0.4"
Mathieu's avatar
Mathieu committed
53
  lazy val scalatexSite = "org.openmole.library" %% "com-lihaoyi-scalatex-site" % "0.4.6"
54
  lazy val math = "org.openmole.library" %% "org-apache-commons-math" % mathVersion
55
  lazy val collections = "org.openmole.library" %% "org-apache-commons-collections" % "4.4"
56
  lazy val exec = "org.openmole.library" %% "org-apache-commons-exec" % "1.3"
57
58
  lazy val log4j = "org.openmole.library" %% "org-apache-log4j" % "1.2.17"
  lazy val logging = "org.openmole.library" %% "org-apache-commons-logging" % "1.2"
59
60
61
  lazy val lang3 = "org.openmole.library" %% "org-apache-commons-lang3" % "3.9"
  lazy val ant = "org.openmole.library" %% "org-apache-ant" % "1.10.7"
  lazy val codec = "org.openmole.library" %% "org-apache-commons-codec" % "1.14"
62
  lazy val async = "org.openmole.library" %% "scala-async" % "0.10.0"
63
  lazy val jgit = "org.openmole.library" %% "org-eclipse-jgit" % "5.6.0"
64
  lazy val cats = "org.openmole.library" %% "cats" % catsVersion
Romain Reuillon's avatar
Romain Reuillon committed
65
  lazy val squants = "org.openmole.library" %% "squants" % squantsVersion
66
  lazy val clapper = "org.openmole.library" %% "org-clapper" % "1.5.1"
67
  lazy val asm = "org.openmole.library" %% "org-objectweb-asm" % asmVersion
68
  lazy val configuration = "org.openmole.library" %% "org-apache-commons-configuration2" % "2.6"
Romain Reuillon's avatar
Romain Reuillon committed
69
  lazy val json4s = "org.openmole.library" %% "org-json4s" % json4sVersion
70
  lazy val circe = "org.openmole.library" %% "io-circe" % circeVersion
Mathieu's avatar
Mathieu committed
71
72
73
  lazy val scalajsLinker = "org.openmole.library" %% "scalajs-linker" % scalajsVersion
  lazy val scalajsLogging = "org.openmole.library" %% "scalajs-logging" % scalajsVersion
  lazy val scalaCompat = "org.openmole.library" %% "scala-collection-compat" % "2.1.4"
74
  lazy val scalajs = "org.openmole.library" %% "scalajs" % scalajsVersion
Romain Reuillon's avatar
Romain Reuillon committed
75
  lazy val mgo = "org.openmole.library" %% "mgo" % mgoVersion
76
  lazy val monocle = Seq("org.openmole.library" %% "monocle" % monocleVersion, scalaz)
77
  lazy val container = "org.openmole.library" %% "container" % containerVersion
Mathieu's avatar
Mathieu committed
78
  lazy val boopickle = "org.openmole.library" %% "boopickle" % boopickleVersion
79
80
81
82
  lazy val autowire = "org.openmole.library" %% "autowire" % scalaAutowireVersion
  lazy val scalaTags = "org.openmole.library" %% "com-scalatags" % scalaTagsVersion
  lazy val rx = "org.openmole.library" %% "rx" % rxVersion
  lazy val netlogo5 = "org.openmole.library" % "ccl-northwestern-edu-netlogo5" % netLogo5Version
83
  lazy val netlogo6 = "org.openmole.library" % "ccl-northwestern-edu-netlogo6" % netLogo6Version
Romain Reuillon's avatar
Romain Reuillon committed
84
  lazy val sourceCode = "org.openmole.library" %% "sourcecode" % sourcecodeVersion
85
  lazy val txtmark = "org.openmole.library" %% "com-github-rjeschke-txtmark" % "0.13"
86
  lazy val spatialsampling = "org.openmole.library" %% "org-openmole-spatialsampling" % spatialsamplingVersion
Mathieu's avatar
Mathieu committed
87
  lazy val xzJava = "org.openmole.library" %% "xzjava" % "1.8"
88
  
89
90
91
92
93
94
95
96
  def httpClientVersion = "4.5.3"
  lazy val httpClient =
    Seq(
      "org.apache.httpcomponents" % "httpclient-osgi" % httpClientVersion,
      "org.apache.httpcomponents" % "httpmime" % httpClientVersion,
      "org.apache.httpcomponents" % "httpcore-osgi" % "4.4.7"
    )

97
  lazy val toolxitBibtex = "org.openmole" %% "toolxit-bibtex" % "0.2"
98

99
  lazy val gridscale = "org.openmole.library" %% "gridscale" % gridscaleVersion
Romain Reuillon's avatar
Romain Reuillon committed
100
101
102
103
104
105
  lazy val gridscaleSSH = 
    Seq(
      "org.openmole.library" %% "gridscale-ssh" % gridscaleVersion,
      "org.openmole.library" %% "com-hierynomus-sshj" % sshjVersion
    )
  
Romain Reuillon's avatar
Romain Reuillon committed
106
  lazy val gridscalePBS = "org.openmole.library" %% "gridscale-pbs" % gridscaleVersion
Romain Reuillon's avatar
Romain Reuillon committed
107
108
109
110
  lazy val gridscaleSGE = "org.openmole.library" %% "gridscale-sge" % gridscaleVersion
  lazy val gridscaleCondor = "org.openmole.library" %% "gridscale-condor" % gridscaleVersion
  lazy val gridscaleSLURM = "org.openmole.library" %% "gridscale-slurm" % gridscaleVersion

111
112
113
114
115
  lazy val gridscaleEGI = Seq(
    "org.openmole.library" %% "gridscale-egi" % gridscaleVersion,
    "org.openmole.library" %% "gridscale-webdav" % gridscaleVersion,
    "org.openmole.library" %% "gridscale-dirac" % gridscaleVersion)

116
117
  lazy val gridscaleHTTP = httpClient ++ Seq("org.openmole.library" %% "gridscale-http" % gridscaleVersion)
  lazy val gridscaleLocal = "org.openmole.library" %% "gridscale-local" % gridscaleVersion
118
  lazy val gridscaleOAR = "org.openmole.library" %% "gridscale-oar" % gridscaleVersion
119

120
  lazy val scalaz = "org.scalaz" %% "scalaz-core" % scalazVersion
121
  lazy val guava = "com.google.guava" % "guava" % "27.1-jre"
122
  lazy val spray = "io.spray" %% "spray-json" % "1.3.5"
123
  lazy val bouncyCastle = "org.bouncycastle" % "bcpkix-jdk15on" % bouncyCastleVersion
Romain Reuillon's avatar
Romain Reuillon committed
124
  lazy val equinoxOSGi = "org.eclipse.platform" % "org.eclipse.osgi" % "3.13.200"
125
  lazy val osgiCompendium = "org.osgi" % "org.osgi.compendium" % "4.3.1"
126

127
  lazy val shapeless = "org.openmole.library" %% "com-chuusai-shapeless" % shapelessVersion
Julien Perret's avatar
Julien Perret committed
128

129
}