Skip to content

Commit

Permalink
signPlugin depends on (shadow)Jar
Browse files Browse the repository at this point in the history
  • Loading branch information
serivesmejia committed Nov 20, 2024
1 parent 2a6115c commit ebc18a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions EOCVSimPlugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ plugins {
apply from: '../build.common.gradle'

tasks.register('signPlugin') {
if(tasks.shadowJar.enabled) {
dependsOn 'shadowJar'
} else {
dependsOn 'jar'
}

// Get the key from an environment variable
def signingKey = System.getenv('PLUGINSIGNING_PRIVATE')
if (!signingKey) {
Expand Down

0 comments on commit ebc18a5

Please sign in to comment.