1 Commits

Author SHA1 Message Date
288fbfe0cc fix build without giteaToken defined
All checks were successful
Release / release (push) Successful in 3m42s
2025-07-05 23:06:07 +02:00
2 changed files with 24 additions and 20 deletions

View File

@@ -36,6 +36,7 @@ tasks.named('test') {
useJUnitPlatform()
}
if (project.hasProperty('giteaToken') && project.giteaToken) {
publishing {
publications {
mavenJava(MavenPublication) {
@@ -58,6 +59,9 @@ publishing {
}
}
}
} else {
println "No giteaToken defined - skipping publishing configuration"
}
gradle.taskGraph.whenReady { taskGraph ->
def banner = """