Skip to content

Commit 3213142

Browse files
committed
merge plugins/build.gradle from develop
1 parent 3a7cfc8 commit 3213142

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

plugins/build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,13 @@ def binaryRelease(taskName, jarName, mainClass) {
143143
from(sourceSets.main.output) {
144144
include "/**"
145145
}
146-
dependsOn (project(':protocol').jar, project(':platform').jar) // explicit_dependency
146+
// Fat jar zips up runtimeClasspath, which includes the jar outputs of
147+
// every project dependency. Declare them all explicitly so Gradle does
148+
// not warn about implicit_dependency and disable execution optimizations
149+
// (and so partial / parallel builds cannot run binaryRelease before the
150+
// dependency jars exist).
151+
dependsOn (project(':protocol').jar, project(':platform').jar,
152+
project(':crypto').jar, project(':common').jar) // explicit_dependency
147153
from {
148154
configurations.runtimeClasspath.collect { // https://docs.gradle.org/current/userguide/upgrading_version_6.html#changes_6.3
149155
it.isDirectory() ? it : zipTree(it)

0 commit comments

Comments
 (0)