Added publishing to codinux Maven repository

This commit is contained in:
dankito 2024-08-22 03:08:43 +02:00
parent ce9cc77148
commit a0f04a202d
2 changed files with 16 additions and 0 deletions

View File

@ -16,6 +16,7 @@ ext {
buildscript {
repositories {
mavenCentral()
maven { url = "https://maven.dankito.net/api/packages/codinux/maven" }
google()
}

View File

@ -135,4 +135,19 @@ kotlin {
}
}
}
publishing {
repositories {
maven {
name = "codinux"
url = uri("https://maven.dankito.net/api/packages/codinux/maven")
credentials(PasswordCredentials) {
username = project.property("codinuxRegistryWriterUsername")
password = project.property("codinuxRegistryWriterPassword")
}
}
}
}