From 282dbd268b84e79245a541adc19a62650c14afec Mon Sep 17 00:00:00 2001 From: Graham Date: Thu, 5 Mar 2020 08:39:55 +0000 Subject: [PATCH] Remove repository credentials from the repositories block The repositories are now public. Credentials are only required for deployment. --- build.gradle.kts | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 0e00c3f4..ffa04f1c 100644 --- a/build.gradle.kts +++ b/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() }