-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.sbt
37 lines (33 loc) · 1.24 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
import Defaults._
lazy val root = (project in file("."))
.settings(commonSettings: _*)
.enablePlugins(CrossPerProjectPlugin)
.aggregate(NGHelpers, NGPlugin)
lazy val NGHelpers = (project in file("helpers"))
.settings(commonSettings: _*)
.settings(
name := "play-testng-helpers",
scalaVersion := "2.11.11",
crossScalaVersions := Seq("2.11.11", "2.12.4"),
libraryDependencies ++= Seq(
"org.testng" % "testng" % "6.11", // % "provided"
"com.typesafe.play" %% "play-test" % "2.6.5", //% "provided"
"com.typesafe.play" %% "play-java" % "2.6.5" //% "provided"
))
lazy val NGPlugin = (project in file("plugin"))
.settings(commonSettings: _*)
.settings(
name := "play-plugins-testng",
sbtPlugin := true,
scalaVersion := "2.10.6",
crossScalaVersions := Seq("2.10.6"),
libraryDependencies ++= Seq(
// If changing this, be sure to change in NGPlugin.scala also.
sbtPluginExtra("de.johoop" % "sbt-testng-plugin" % "3.1.1", (sbtBinaryVersion in update).value, (scalaBinaryVersion in update).value),
"de.johoop" %% "sbt-testng-interface" % "3.1.1"
)
)
def commonSettings: Seq[Def.Setting[_]] = Seq(
organization := "com.linkedin.play-testng-plugin",
version := "2.6.0"
)