Libraries.scala 8 KB
Newer Older
Mathieu Leclaire's avatar
Mathieu Leclaire committed
1
import org.scalajs.sbtplugin.ScalaJSPlugin.autoImport._
Mathieu's avatar
Mathieu committed
2
import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport._
3
4
import sbt.Keys._
import sbt._
5

6
object Libraries {
7

Romain Reuillon's avatar
Romain Reuillon committed
8
  lazy val gridscaleVersion = "2.16"
Romain Reuillon's avatar
Romain Reuillon committed
9
10
  lazy val sshjVersion = "0.27.0"

Romain Reuillon's avatar
Romain Reuillon committed
11
  lazy val mgoVersion = "3.28"
12
  lazy val bouncyCastleVersion = "1.60"
13
14
15
  lazy val aceVersion = "01.08.2014"
  lazy val d3Version = "3.5.12"
  lazy val tooltipserVersion = "3.3.0"
Romain Reuillon's avatar
Romain Reuillon committed
16
  lazy val netLogo5Version = "5.3.1"
Romain Reuillon's avatar
Romain Reuillon committed
17
  lazy val netLogo6Version = "6.0.4"
Mathieu's avatar
Mathieu committed
18
  lazy val scalaTagsVersion = "0.6.5"
19
  lazy val scalaJSDomVersion = "0.9.3"
Mathieu's avatar
Mathieu committed
20
  lazy val rxVersion = "0.4.0"
Mathieu's avatar
Mathieu committed
21
  lazy val boopickleVersion = "1.2.6"
Mathieu Leclaire's avatar
Mathieu Leclaire committed
22
  lazy val scalaAutowireVersion = "0.2.6"
23
  lazy val sourcecodeVersion = "0.1.4"
Mathieu's avatar
Mathieu committed
24
  lazy val scaladgetVersion = "1.2.4"
Mathieu's avatar
Mathieu committed
25
  lazy val sortableVersion = "0.2.1"
Romain Reuillon's avatar
Romain Reuillon committed
26
  lazy val json4sVersion = "3.5.0"
Romain Reuillon's avatar
Romain Reuillon committed
27
  lazy val circeVersion = "0.10.0"
Romain Reuillon's avatar
Romain Reuillon committed
28
  lazy val catsVersion = "1.0.1"
Mathieu's avatar
Mathieu committed
29
  lazy val scalajsVersion = "0.6.23"
Romain Reuillon's avatar
Romain Reuillon committed
30
  lazy val squantsVersion = "1.3.0"
31
  lazy val xstreamVersion = "1.4.11"
32
  lazy val scalaURIVersion = "1.1.1"
33

Mathieu's avatar
Mathieu committed
34
  lazy val bootstrapnative = libraryDependencies += "fr.iscpif.scaladget" %%% "bootstrapnative" % scaladgetVersion
Mathieu's avatar
Mathieu committed
35
  lazy val lunr = libraryDependencies += "fr.iscpif.scaladget" %%% "lunr" % scaladgetVersion
36

Mathieu's avatar
Mathieu committed
37
  lazy val sortable = libraryDependencies += "net.scalapro" %%% "sortable-js-facade" % sortableVersion
Mathieu's avatar
Mathieu committed
38
39
  lazy val ace = libraryDependencies += "fr.iscpif.scaladget" %%% "ace" % scaladgetVersion
  lazy val scaladgetTools = libraryDependencies += "fr.iscpif.scaladget" %%% "tools" % scaladgetVersion
Romain Reuillon's avatar
Romain Reuillon committed
40
41
42
43
  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
44
  lazy val boopickleJS = libraryDependencies += "io.suzaku" %%% "boopickle" % boopickleVersion
45
  lazy val sourcecodeJS = libraryDependencies += "com.lihaoyi" %%% "sourcecode" % sourcecodeVersion
46
  lazy val scalajsMarked = libraryDependencies += "com.github.karasiq" %%% "scalajs-marked" % "1.0.2"
47
  lazy val htmlparser2 = libraryDependencies += "com.definitelyscala" %%% "scala-js-htmlparser2" % "1.0.2"
Mathieu's avatar
Mathieu committed
48
  lazy val plotlyJS =  libraryDependencies += "com.definitelyscala" %%% "scala-js-plotlyjs" % "1.1.10"
49

Romain Reuillon's avatar
Romain Reuillon committed
50
  lazy val scalatest = "org.scalatest" %% "scalatest" % "3.0.5" % "test"
Romain Reuillon's avatar
Romain Reuillon committed
51

52
53
  /** ------- Bundles -------------- */

54
55
56
57
58
  def addScalaLang(scalaVersion: String) =
    libraryDependencies ++= Seq(
      "org.openmole.library" %% "org-scala-lang-scala-library" % scalaVersion,
      "org.scalameta" %% "scalameta" % "4.1.0"
    )
59

Romain Reuillon's avatar
Romain Reuillon committed
60
  lazy val scalatra = "org.openmole.library" %% "org-scalatra" % "2.6.3"
61
  lazy val logback = "org.openmole.library" %% "ch-qos-logback" % "1.0.9"
Romain Reuillon's avatar
Romain Reuillon committed
62
  lazy val h2 = "org.openmole.library" %% "org-h2" % "1.4.199"
63
  lazy val bonecp = "org.openmole.library" %% "com-jolbox-bonecp" % "0.8.0-rc1"
Romain Reuillon's avatar
Romain Reuillon committed
64
  lazy val slick = "org.openmole.library" %% "com-typesafe-slick" % "3.3.0"
65
  lazy val slf4j = "org.openmole.library" %% "org-slf4j" % "1.7.10"
Romain Reuillon's avatar
Romain Reuillon committed
66
  lazy val xstream = "org.openmole.library" %% "com-thoughtworks-xstream" % xstreamVersion
67
68
  lazy val jasypt = "org.openmole.library" %% "org-jasypt-encryption" % "1.9.2"
  lazy val opencsv = "org.openmole.library" %% "au-com-bytecode-opencsv" % "2.3"
Romain Reuillon's avatar
Romain Reuillon committed
69
  lazy val arm = "org.openmole.library" %% "com-jsuereth-scala-arm" % "2.0"
70
  lazy val scalajHttp = "org.openmole.library" %% "org-scalaj-scalaj-http" % "2.3.0"
71
  lazy val scopt = "org.openmole.library" %% "com-github-scopt" % "3.5.0"
72
  lazy val scalabc = "org.openmole.library" %% "fr-iscpif-scalabc" % "0.4"
Romain Reuillon's avatar
Romain Reuillon committed
73
  lazy val scalatexSite = "org.openmole.library" %% "com-lihaoyi-scalatex-site" % "0.3.12"
74
75
  lazy val math = "org.openmole.library" %% "org-apache-commons-math" % "3.6.1"
  lazy val collections = "org.openmole.library" %% "org-apache-commons-collections" % "4.1"
76
  lazy val exec = "org.openmole.library" %% "org-apache-commons-exec" % "1.3"
77
78
79
80
81
  lazy val log4j = "org.openmole.library" %% "org-apache-log4j" % "1.2.17"
  lazy val logging = "org.openmole.library" %% "org-apache-commons-logging" % "1.2"
  lazy val lang3 = "org.openmole.library" %% "org-apache-commons-lang3" % "3.4"
  lazy val ant = "org.openmole.library" %% "org-apache-ant" % "1.8.0"
  lazy val codec = "org.openmole.library" %% "org-apache-commons-codec" % "1.10"
Romain Reuillon's avatar
Romain Reuillon committed
82
  lazy val async = "org.openmole.library" %% "scala-async" % "0.9.6"
83
  lazy val jgit = "org.openmole.library" %% "org-eclipse-jgit" % "4.11"
84
  lazy val cats = "org.openmole.library" %% "cats" % catsVersion
Romain Reuillon's avatar
Romain Reuillon committed
85
  lazy val squants = "org.openmole.library" %% "squants" % squantsVersion
Romain Reuillon's avatar
Romain Reuillon committed
86
  lazy val clapper = "org.openmole.library" %% "org-clapper" % "1.1.2"
87
  lazy val asm = "org.openmole.library" %% "org-objectweb-asm" % "5.1"
Romain Reuillon's avatar
Romain Reuillon committed
88
  lazy val configuration = "org.openmole.library" %% "org-apache-commons-configuration2" % "2.2"
Romain Reuillon's avatar
Romain Reuillon committed
89
  lazy val json4s = "org.openmole.library" %% "org-json4s" % json4sVersion
90
  lazy val circe = "org.openmole.library" %% "io-circe" % circeVersion
91
92
  lazy val scalajsTools = "org.openmole.library" %% "scalajs-tools" % scalajsVersion
  lazy val scalajs = "org.openmole.library" %% "scalajs" % scalajsVersion
Romain Reuillon's avatar
Romain Reuillon committed
93
  lazy val mgo = "org.openmole.library" %% "mgo" % mgoVersion
94
  lazy val family = "org.openmole.library" %% "fr-iscpif-family" % "1.3"
Romain Reuillon's avatar
Romain Reuillon committed
95
  lazy val monocle = "org.openmole.library" %% "monocle" % "1.5.0"
Mathieu's avatar
Mathieu committed
96
  lazy val boopickle = "org.openmole.library" %% "boopickle" % boopickleVersion
97
98
99
100
  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
101
  lazy val netlogo6 = "org.openmole.library" % "ccl-northwestern-edu-netlogo6" % netLogo6Version
Romain Reuillon's avatar
Romain Reuillon committed
102
  lazy val sourceCode = "org.openmole.library" %% "sourcecode" % sourcecodeVersion
103
  lazy val txtmark = "org.openmole.library" %% "com-github-rjeschke-txtmark" % "0.13"
104

105
106
107
108
109
110
111
112
  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"
    )

113
  lazy val toolxitBibtex = "org.openmole" %% "toolxit-bibtex" % "0.2"
114

115
  lazy val gridscale = "org.openmole.library" %% "gridscale" % gridscaleVersion
Romain Reuillon's avatar
Romain Reuillon committed
116
117
118
119
120
121
  lazy val gridscaleSSH = 
    Seq(
      "org.openmole.library" %% "gridscale-ssh" % gridscaleVersion,
      "org.openmole.library" %% "com-hierynomus-sshj" % sshjVersion
    )
  
Romain Reuillon's avatar
Romain Reuillon committed
122
  lazy val gridscalePBS = "org.openmole.library" %% "gridscale-pbs" % gridscaleVersion
Romain Reuillon's avatar
Romain Reuillon committed
123
124
125
126
  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

127
128
129
130
131
  lazy val gridscaleEGI = Seq(
    "org.openmole.library" %% "gridscale-egi" % gridscaleVersion,
    "org.openmole.library" %% "gridscale-webdav" % gridscaleVersion,
    "org.openmole.library" %% "gridscale-dirac" % gridscaleVersion)

132
133
  lazy val gridscaleHTTP = httpClient ++ Seq("org.openmole.library" %% "gridscale-http" % gridscaleVersion)
  lazy val gridscaleLocal = "org.openmole.library" %% "gridscale-local" % gridscaleVersion
134
  lazy val gridscaleOAR = "org.openmole.library" %% "gridscale-oar" % gridscaleVersion
135

136
137
  lazy val scalaz = "org.scalaz" %% "scalaz-core" % "7.2.8"
  lazy val guava = "com.google.guava" % "guava" % "19.0"
Julien Perret's avatar
Julien Perret committed
138
  lazy val spray = "io.spray" %% "spray-json" % "1.3.2"
139
  lazy val bouncyCastle = "org.bouncycastle" % "bcpkix-jdk15on" % bouncyCastleVersion
Romain Reuillon's avatar
Romain Reuillon committed
140
  lazy val equinoxOSGi = "org.eclipse.platform" % "org.eclipse.osgi" % "3.13.200"
141
  lazy val osgiCompendium = "org.osgi" % "org.osgi.compendium" % "4.3.1"
142

Romain Reuillon's avatar
Romain Reuillon committed
143
  lazy val shapeless = "org.openmole.library" %% "com-chuusai-shapeless" % "2.3.2"
Julien Perret's avatar
Julien Perret committed
144

145
}