Skip to content

Commit

Permalink
Fix ci: there was an issue during publishing (#282)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
anthonydahanne authored Oct 30, 2024
1 parent 8220cf3 commit b487142
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions java-cfenv-all/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,6 @@ publishing {

assemble.dependsOn shadowJar
build.dependsOn shadowJar
generateMetadataFileForShadowPublication.dependsOn jar
publishShadowPublicationToMavenRepository.onlyIf { false }
publishShadowPublicationToMaven2Repository.onlyIf { false }

0 comments on commit b487142

Please sign in to comment.