-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
28 lines (21 loc) · 1.26 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import java.util.Properties
name := "ekino-tools-version"
version := "1.0.0"
scalaVersion := "2.13.9"
maintainer := "[email protected]"
val gradleProperties = settingKey[Properties]("The gradle properties")
gradleProperties := {
val prop = new Properties()
IO.load(prop, new File("gradle.properties"))
prop
}
libraryDependencies += guice
libraryDependencies += filters
libraryDependencies += "org.eclipse.jgit" % "org.eclipse.jgit" % gradleProperties.value.getProperty("org.eclipse.jgit.version")
libraryDependencies += "net.codingwell" %% "scala-guice" % gradleProperties.value.getProperty("scala-guice.version")
libraryDependencies += "org.scalaz" %% "scalaz-concurrent" % gradleProperties.value.getProperty("scalaz.version")
libraryDependencies += specs2 % Test
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % gradleProperties.value.getProperty("scalatestplus-play_2.13.version") % Test
libraryDependencies += "org.scalatestplus" %% "junit-4-13" % gradleProperties.value.getProperty("scalatestplus-junit-4-13.version") % Test
routesGenerator := InjectedRoutesGenerator
lazy val `ekino-tools-version` = (project in file(".")).enablePlugins(PlayScala)