fix build without giteaToken defined
All checks were successful
Release / release (push) Successful in 3m42s
All checks were successful
Release / release (push) Successful in 3m42s
This commit is contained in:
@@ -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 = """
|
||||
|
||||
Reference in New Issue
Block a user