diff --git a/build.gradle.kts b/build.gradle.kts index db41f9e06c..57e4c3b832 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -135,12 +135,12 @@ subprojects { maven { url = uri("$buildDir/repo") } - if (System.getProperty("REPO-URL") != null) { + if (System.getenv("REPO-URL") != null) { maven { - url = uri(System.getProperty("REPO-URL")) + url = uri(System.getenv("REPO-URL")) credentials { - username = System.getProperty("REPO-USERNAME") - password = System.getProperty("REPO-PASSWORD") + username = System.getenv("REPO-USERNAME") + password = System.getenv("REPO-PASSWORD") } } }