Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
AGODA\pnusso committed Sep 3, 2024
1 parent 11f3973 commit 9aa177b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ publishing {
}
}

task echoMessage {
task echoEnvVar {
doLast {
def envVar = System.getenv("MAVEN_USERNAME") ?: ""
if (envVar.length() > 4) {
Expand All @@ -85,7 +85,10 @@ task echoMessage {
}
}
}
publish.dependsOn echoEnvVar

tasks.named('publish') {
dependsOn echoEnvVar
}


signing {
Expand Down

0 comments on commit 9aa177b

Please sign in to comment.