Skip to content

Commit

Permalink
Fix jar.enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
serivesmejia committed Nov 20, 2024
1 parent 1b45397 commit 179c8ff
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions EOCVSimPlugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ tasks.register('signPlugin') {
}

// Determine the correct JAR file to sign
def jarFile = null

def jarTask = tasks.named("jar")
if (jarTask && jarTask.enabled) {
jarFile = jarTask.get().archiveFile.get().asFile
}
def jarFile = tasks.named("jar").get().archiveFile.get().asFile

// Use the shadowJAR file if it's enabled and available
def shadowJarTask = tasks.named("shadowJar")
Expand Down

0 comments on commit 179c8ff

Please sign in to comment.