Fix for dist missing libraries #20661

This commit is contained in:
Johan Andrén 2016-05-31 12:52:30 +02:00
parent 23027a2801
commit 36516530a0
2 changed files with 3 additions and 2 deletions

View file

@ -549,7 +549,9 @@ object AkkaBuild extends Build {
// -v Log "test run started" / "test started" / "test run finished" events on log level "info" instead of "debug".
// -a Show stack traces and exception class name for AssertionErrors.
testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a")
testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a"),
Dist.includeInDist := true
) ++
mavenLocalResolverSettings ++
JUnitFileReporting.settings ++

View file

@ -27,7 +27,6 @@ object Dist {
val includeInDist = SettingKey[Boolean]("include-in-dist", "Include the artifact of this project in the standalone dist zip-file")
lazy val settings: Seq[Setting[_]] = Seq(
includeInDist := true,
distAllClasspaths <<= (thisProjectRef, buildStructure) flatMap aggregated(dependencyClasspath in Compile),
distDependencies <<= distAllClasspaths map { _.flatten.map(_.data).filter(ClasspathUtilities.isArchive).distinct },
distLibJars <<= (thisProjectRef, buildStructure) flatMap aggregated(packageBin in Compile),