-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
37 lines (35 loc) · 1.47 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
lazy val root = (project in file("."))
.aggregate(scalatestCoreASMLibrary, scalatestCoreASM)
.settings(Commons.settings)
.settings(
organization := "de.athalis",
name := "sbt-scalatest-coreasm-root",
)
lazy val scalatestCoreASMLibrary = (project in file("scalatestCoreASMLibrary"))
.settings(Commons.settings)
.settings(
organization := "de.athalis",
name := "sbt-scalatest-coreasm-lib",
scalaVersion := Commons.appScalaVersion_2_12,
crossScalaVersions := Seq(Commons.appScalaVersion_2_10, Commons.appScalaVersion_2_11, Commons.appScalaVersion_2_12),
publishArtifact in (Compile, packageDoc) := false,
libraryDependencies ++= Dependencies.scalatestCoreASMLibraryDependencies,
)
lazy val scalatestCoreASM = (project in file("scalatestCoreASM"))
.enablePlugins(BuildInfoPlugin, SbtPlugin)
.dependsOn(scalatestCoreASMLibrary)
.settings(Commons.settings)
.settings(
organization := "de.athalis",
name := "sbt-scalatest-coreasm",
// sbt 1 is compiled against 2.12
scalaVersion := Commons.appScalaVersion_2_12,
crossScalaVersions := Seq(Commons.appScalaVersion_2_12),
libraryDependencies ++= Dependencies.scalatestCoreASMDependencies,
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
buildInfoPackage := "de.athalis.sbt.testcoreasm",
scriptedLaunchOpts := { scriptedLaunchOpts.value ++
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
},
scriptedBufferLog := false,
)