Remove repository credentials from the repositories block

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

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

Loading…
Cancel
Save