From a8a48b35746d1f99de15f2e2c093d5d13d952345 Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 16 Jan 2021 13:02:17 +0000 Subject: [PATCH] Move repositories to new dependencyResolutionManagement block Signed-off-by: Graham --- build.gradle.kts | 12 ------------ settings.gradle.kts | 10 ++++++++++ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index d43c6709..b18d657d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,22 +19,10 @@ plugins { id("org.jmailen.kotlinter") version Versions.kotlinter apply false } -repositories { - jcenter() -} - allprojects { group = "org.openrs2" version = "0.1.0-SNAPSHOT" - repositories { - mavenCentral() - jcenter() - maven(url = "https://repo.openrs2.org/repository/openrs2") - mavenLocal() - maven(url = "https://repo.openrs2.org/repository/openrs2-snapshots") - } - plugins.withType { configure { archivesBaseName = "${rootProject.name}-$name" diff --git a/settings.gradle.kts b/settings.gradle.kts index 0c23e48b..e90e2c00 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,5 +1,15 @@ rootProject.name = "openrs2" +dependencyResolutionManagement { + repositories { + mavenCentral() + jcenter() + maven(url = "https://repo.openrs2.org/repository/openrs2") + mavenLocal() + maven(url = "https://repo.openrs2.org/repository/openrs2-snapshots") + } +} + include( "all", "archive",