Skip openrs2 repositories if no username/password are supplied

bzip2
Graham 5 years ago
parent e480ce282a
commit e6ac51688c
  1. 2
      build.gradle.kts

@ -21,6 +21,7 @@ allprojects {
repositories {
mavenLocal()
mavenCentral()
if (hasProperty("repoUsername")) {
maven(url = "https://repo.openrs2.dev/repository/openrs2") {
credentials {
username = findProperty("repoUsername")?.toString()
@ -33,6 +34,7 @@ allprojects {
password = findProperty("repoPassword")?.toString()
}
}
}
maven(url = "https://dl.bintray.com/michaelbull/maven")
}

Loading…
Cancel
Save