Make akka-protobuf-v3.jar reproducible (#28108)
This needs 'special treatment' because the akka build overrides `packageBin` for this subproject
This commit is contained in:
parent
444a86291e
commit
0e81641b65
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ lazy val protobufV3 = akkaModule("akka-protobuf-v3")
|
|||
exportJars := true, // in dependent projects, use assembled and shaded jar
|
||||
makePomConfiguration := makePomConfiguration.value
|
||||
.withConfigurations(Vector(Compile)), // prevent original dependency to be added to pom as runtime dep
|
||||
packageBin in Compile := (assembly in Compile).value, // package by running assembly
|
||||
packageBin in Compile := ReproducibleBuildsPlugin.postProcessJar((assembly in Compile).value), // package by running assembly
|
||||
// Prevent cyclic task dependencies, see https://github.com/sbt/sbt-assembly/issues/365
|
||||
fullClasspath in assembly := (managedClasspath in Runtime).value, // otherwise, there's a cyclic dependency between packageBin and assembly
|
||||
test in assembly := {}, // assembly runs tests for unknown reason which introduces another cyclic dependency to packageBin via exportedJars
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue