fix publishing

This commit is contained in:
Robin 2024-07-06 15:13:55 +02:00
parent b758b0a419
commit 369d30a717

View File

@ -307,7 +307,12 @@ publishing {
maven { maven {
val baseURL = "https://maven.robaertschi.xyz/" val baseURL = "https://maven.robaertschi.xyz/"
name = "robaertschi"
url = uri("${baseURL}${if (version.toString().endsWith("SNAPSHOT")) "snapshots" else "releases"}") url = uri("${baseURL}${if (version.toString().endsWith("SNAPSHOT")) "snapshots" else "releases"}")
credentials(PasswordCredentials::class)
authentication {
register<BasicAuthentication>("basic")
}
} }
} }
} }