easy publishing
This commit is contained in:
@@ -80,6 +80,15 @@ publishing {
|
|||||||
maven {
|
maven {
|
||||||
url = uri("$buildDir/repo")
|
url = uri("$buildDir/repo")
|
||||||
}
|
}
|
||||||
|
if (System.getenv("REPO_URL") != null) {
|
||||||
|
maven {
|
||||||
|
url = uri(System.getenv("REPO_URL"))
|
||||||
|
credentials {
|
||||||
|
username = System.getenv("REPO_USERNAME")
|
||||||
|
password = System.getenv("REPO_PASSWORD")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
publications {
|
publications {
|
||||||
register("mavenJava", MavenPublication::class) {
|
register("mavenJava", MavenPublication::class) {
|
||||||
|
|||||||
Reference in New Issue
Block a user