Remove repository credentials from the repositories block

The repositories are now public. Credentials are only required for
deployment.
bzip2
Graham 5 years ago
parent b38da58bd5
commit 282dbd268b
  1. 16
      build.gradle.kts

@ -20,20 +20,8 @@ allprojects {
repositories {
mavenCentral()
if (hasProperty("openrs2RepoUsername")) {
maven(url = "https://repo.openrs2.dev/repository/openrs2") {
credentials {
username = findProperty("openrs2RepoUsername")?.toString()
password = findProperty("openrs2RepoPassword")?.toString()
}
}
maven(url = "https://repo.openrs2.dev/repository/openrs2-snapshots") {
credentials {
username = findProperty("openrs2RepoUsername")?.toString()
password = findProperty("openrs2RepoPassword")?.toString()
}
}
}
maven(url = "https://repo.openrs2.dev/repository/openrs2")
maven(url = "https://repo.openrs2.dev/repository/openrs2-snapshots")
mavenLocal()
}

Loading…
Cancel
Save