gradle: use environment variables for publishing
This commit is contained in:
@@ -135,12 +135,12 @@ subprojects {
|
|||||||
maven {
|
maven {
|
||||||
url = uri("$buildDir/repo")
|
url = uri("$buildDir/repo")
|
||||||
}
|
}
|
||||||
if (System.getProperty("REPO-URL") != null) {
|
if (System.getenv("REPO-URL") != null) {
|
||||||
maven {
|
maven {
|
||||||
url = uri(System.getProperty("REPO-URL"))
|
url = uri(System.getenv("REPO-URL"))
|
||||||
credentials {
|
credentials {
|
||||||
username = System.getProperty("REPO-USERNAME")
|
username = System.getenv("REPO-USERNAME")
|
||||||
password = System.getProperty("REPO-PASSWORD")
|
password = System.getenv("REPO-PASSWORD")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user