easy publishing
This commit is contained in:
@@ -80,6 +80,15 @@ publishing {
|
||||
maven {
|
||||
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 {
|
||||
register("mavenJava", MavenPublication::class) {
|
||||
|
||||
Reference in New Issue
Block a user