-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
51 lines (48 loc) · 1.55 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
inThisBuild(
List(
scalaVersion := "2.12.7",
organization := "ch.timo-schmid",
homepage := Some(url("https://github.com/timo-schmid/sbt-i18n")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
resolvers += Resolver.sonatypeRepo("releases"),
developers := List(
Developer(
"timo-schmid",
"Timo Schmid",
url("https://github.com/timo-schmid")
)
)
)
)
lazy val `i18n-core` = (project in file("core"))
.settings(
name := "i18n-core",
description := "A typesafe i18n generator",
libraryDependencies ++= Seq(
"org.tpolecat" %% "atto-core" % "0.5.2",
"org.specs2" %% "specs2-core" % "3.8.9" % "test"
)
)
lazy val `sbt-i18n` = (project in file("sbt-plugin"))
.settings(
name := "sbt-i18n",
description := "A typesafe i18n generator for sbt",
libraryDependencies += "org.tpolecat" %% "atto-core" % "0.5.2",
libraryDependencies += {
val sbtV = (sbtBinaryVersion in pluginCrossBuild).value
val scalaV = (scalaBinaryVersion in update).value
Defaults.sbtPluginExtra("org.portable-scala" %% "sbt-scalajs-crossproject" % "0.4.0", sbtV, scalaV)
},
scriptedLaunchOpts += "-Xmx1024M",
scriptedLaunchOpts += "-Dplugin.version=" + version.value,
scriptedBufferLog := false
)
.enablePlugins(SbtPlugin)
.dependsOn(`i18n-core`)
.aggregate(`i18n-core`)
lazy val `root` = (project in file("."))
.settings(
skip in publish := true
)
.aggregate(`sbt-i18n`, `i18n-core`)