Skip to content

Commit

Permalink
Ensure shadowJar.get()
Browse files Browse the repository at this point in the history
  • Loading branch information
serivesmejia committed Nov 20, 2024
1 parent 179c8ff commit f67972c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EOCVSimPlugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tasks.register('signPlugin') {
def jarFile = tasks.named("jar").get().archiveFile.get().asFile

// Use the shadowJAR file if it's enabled and available
def shadowJarTask = tasks.named("shadowJar")
def shadowJarTask = tasks.named("shadowJar").get()
if (shadowJarTask && shadowJarTask.enabled) {
jarFile = shadowJarTask.archiveFile.get().asFile
}
Expand Down

0 comments on commit f67972c

Please sign in to comment.