Skip to content

Commit

Permalink
Make custom copy task depend on shadowJar
Browse files Browse the repository at this point in the history
  • Loading branch information
HeatherComputer committed Aug 28, 2024
1 parent b745607 commit cd808ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion customTasks.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ task copyToOtherVersions


copyDestinations.eachWithIndex { outputDir, index ->
task "copyTo-${outputDir.substring(3)}" (type: Copy, dependsOn: 'jar') {
task "copyTo-${outputDir.substring(3)}" (type: Copy, dependsOn: 'shadowJar') {
doNotTrackState("Must run!")
from jar
into outputDir
Expand Down

0 comments on commit cd808ce

Please sign in to comment.