Inceptum/buildSrc/src/main/kotlin/inceptum.java-conventions.gradle.kts
JFronny eb6c2538b5
All checks were successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
Revert "Revert "Revert "One last release on gitlab"""
2022-11-04 19:10:27 +01:00

33 lines
757 B
Plaintext

plugins {
`java-library`
`maven-publish`
}
repositories {
mavenCentral()
maven("https://maven.frohnmeyer-wds.de/artifacts")
}
dependencies {
compileOnly("org.jetbrains:annotations:23.0.0")
}
publishing {
repositories {
mavenLocal()
if (rootProject.extra["isPublic"] == true) {
maven("https://maven.frohnmeyer-wds.de/artifacts") {
name = "public"
credentials(PasswordCredentials::class) {
username = System.getenv()["MAVEN_NAME"]
password = System.getenv()["MAVEN_TOKEN"]
}
authentication {
create<BasicAuthentication>("basic")
}
}
}
}
}