|
1 |
| -resolvers in ThisBuild += "scala-integration" at "https://scala-ci.typesafe.com/artifactory/scala-integration/" |
| 1 | +Global / cancelable := true |
| 2 | +publish / skip := true // in root |
2 | 3 |
|
3 |
| -scalacOptions in ThisBuild ++= Seq("-deprecation", "-feature"/*, "-Xfatal-warnings"*/) |
4 |
| - |
5 |
| -cancelable in Global := true |
6 |
| - |
7 |
| -skip in publish := true // in root |
8 |
| - |
9 |
| -lazy val commonSettings: Seq[Setting[_]] = Seq() |
10 |
| - |
11 |
| -commonSettings // in root |
| 4 | +lazy val commonSettings: Seq[Setting[_]] = |
| 5 | + ScalaModulePlugin.scalaModuleSettings ++ Seq( |
| 6 | + Compile / compile / scalacOptions += "-Werror" |
| 7 | + ) |
12 | 8 |
|
13 | 9 | lazy val core = project.in(file("core"))
|
14 |
| - .settings(ScalaModulePlugin.scalaModuleSettings) |
15 | 10 | .settings(commonSettings)
|
16 | 11 | .settings(
|
17 |
| - name := "scala-parallel-collections" |
18 |
| -) |
| 12 | + name := "scala-parallel-collections" |
| 13 | + ) |
19 | 14 |
|
20 | 15 | lazy val junit = project.in(file("junit"))
|
21 | 16 | .settings(commonSettings)
|
22 | 17 | .settings(
|
23 |
| - libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test, |
24 |
| - // for javax.xml.bind.DatatypeConverter, used in SerializationStabilityTest |
25 |
| - libraryDependencies += "javax.xml.bind" % "jaxb-api" % "2.3.1" % Test, |
26 |
| - testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v"), |
27 |
| - fork in Test := true, |
28 |
| - skip in publish := true |
29 |
| -).dependsOn(testmacros, core) |
| 18 | + libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test, |
| 19 | + // for javax.xml.bind.DatatypeConverter, used in SerializationStabilityTest |
| 20 | + libraryDependencies += "javax.xml.bind" % "jaxb-api" % "2.3.1" % Test, |
| 21 | + testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v"), |
| 22 | + Test / fork := true, |
| 23 | + publish / skip := true |
| 24 | + ).dependsOn(testmacros, core) |
30 | 25 |
|
31 | 26 | lazy val scalacheck = project.in(file("scalacheck"))
|
32 | 27 | .settings(commonSettings)
|
33 | 28 | .settings(
|
34 |
| - libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.14.3", |
35 |
| - fork in Test := true, |
36 |
| - testOptions in Test += Tests.Argument(TestFrameworks.ScalaCheck, "-workers", "1", "-minSize", "0", "-maxSize", "4000", "-minSuccessfulTests", "5"), |
37 |
| - skip in publish := true |
38 |
| -).dependsOn(core) |
| 29 | + libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.14.3", |
| 30 | + Test / fork := true, |
| 31 | + Test / testOptions += Tests.Argument(TestFrameworks.ScalaCheck, "-workers", "1", "-minSize", "0", "-maxSize", "4000", "-minSuccessfulTests", "5"), |
| 32 | + publish / skip := true |
| 33 | + ).dependsOn(core) |
39 | 34 |
|
40 | 35 | lazy val testmacros = project.in(file("testmacros"))
|
41 | 36 | .settings(commonSettings)
|
42 | 37 | .settings(
|
43 |
| - libraryDependencies += scalaOrganization.value % "scala-compiler" % scalaVersion.value, |
44 |
| - skip in publish := true |
45 |
| -) |
| 38 | + libraryDependencies += scalaOrganization.value % "scala-compiler" % scalaVersion.value, |
| 39 | + publish / skip := true |
| 40 | + ) |
0 commit comments