Skip to content

Commit b21b276

Browse files
committed
don't publish artifacts from non-core submodules
this was confounding the Scala community build; see scala/community-build#495
1 parent 02a470c commit b21b276

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build.sbt

+6-3
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,18 @@ lazy val core = project.in(file("core")).settings(scalaModuleSettings).settings(
2121
lazy val junit = project.in(file("junit")).settings(
2222
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test",
2323
testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v"),
24-
fork in Test := true
24+
fork in Test := true,
25+
publishArtifact := false
2526
).dependsOn(testmacros, core)
2627

2728
lazy val scalacheck = project.in(file("scalacheck")).settings(
2829
libraryDependencies += "org.scalacheck" % "scalacheck_2.12" % "1.13.4",
2930
fork in Test := true,
30-
testOptions in Test += Tests.Argument(TestFrameworks.ScalaCheck, "-workers", "1", "-minSize", "0", "-maxSize", "4000", "-minSuccessfulTests", "5")
31+
testOptions in Test += Tests.Argument(TestFrameworks.ScalaCheck, "-workers", "1", "-minSize", "0", "-maxSize", "4000", "-minSuccessfulTests", "5"),
32+
publishArtifact := false
3133
).dependsOn(core)
3234

3335
lazy val testmacros = project.in(file("testmacros")).settings(
34-
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value
36+
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value,
37+
publishArtifact := false
3538
)

0 commit comments

Comments
 (0)