Skip to content

Commit

Permalink
remove unused buildOrPublish
Browse files Browse the repository at this point in the history
  • Loading branch information
TropheusJ committed Feb 20, 2024
1 parent 34abe7a commit 4a6e222
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -125,18 +125,6 @@ allprojects {
}

jar.from(rootProject.file("LICENSE")) // copy license file into jar

tasks.register("buildOrPublish") {
group = "build"
String mavenUser = System.getenv("MAVEN_USER")
if (mavenUser != null && !mavenUser.isEmpty()) {
dependsOn(tasks.named("publish"))
println "prepared for publish"
} else {
dependsOn(tasks.named("build"))
println "prepared for build"
}
}
}

subprojects {
Expand Down

0 comments on commit 4a6e222

Please sign in to comment.