diff --git a/build.sbt b/build.sbt index 80c9cba848..bbe6598b3d 100644 --- a/build.sbt +++ b/build.sbt @@ -24,6 +24,7 @@ lazy val commonSettings = Seq( }, // If SBT_PUBLISH_TESTS_JARS ENV variable is set to "true" then tests jar files will be published that can be used e.g. in testing plugins publishArtifact in (Test, packageBin) := sys.env.getOrElse("SBT_PUBLISH_TESTS_JARS", "false").toLowerCase == "true", + publishArtifact in (Test, packageSrc) := sys.env.getOrElse("SBT_PUBLISH_TESTS_JARS", "false").toLowerCase == "true", // Testing libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.7" % "test", libraryDependencies += "net.codingwell" %% "scala-guice" % "4.0.0" % "test",