Skip to content

Commit b487142

Browse files
Fix ci: there was an issue during publishing (#282)
Reason: Task ':java-cfenv-all:generateMetadataFileForShadowPublication' uses this output of task ':java-cfenv-all:jar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
1 parent 8220cf3 commit b487142

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java-cfenv-all/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,6 @@ publishing {
111111

112112
assemble.dependsOn shadowJar
113113
build.dependsOn shadowJar
114+
generateMetadataFileForShadowPublication.dependsOn jar
114115
publishShadowPublicationToMavenRepository.onlyIf { false }
115116
publishShadowPublicationToMaven2Repository.onlyIf { false }

0 commit comments

Comments
 (0)