Move repositories to new dependencyResolutionManagement block

Signed-off-by: Graham <gpe@openrs2.org>
Graham 4 years ago
parent f9996ef0b0
commit a8a48b3574
  1. 12
      build.gradle.kts
  2. 10
      settings.gradle.kts

@ -19,22 +19,10 @@ plugins {
id("org.jmailen.kotlinter") version Versions.kotlinter apply false id("org.jmailen.kotlinter") version Versions.kotlinter apply false
} }
repositories {
jcenter()
}
allprojects { allprojects {
group = "org.openrs2" group = "org.openrs2"
version = "0.1.0-SNAPSHOT" 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<BasePlugin> { plugins.withType<BasePlugin> {
configure<BasePluginConvention> { configure<BasePluginConvention> {
archivesBaseName = "${rootProject.name}-$name" archivesBaseName = "${rootProject.name}-$name"

@ -1,5 +1,15 @@
rootProject.name = "openrs2" 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( include(
"all", "all",
"archive", "archive",

Loading…
Cancel
Save