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
}
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<BasePlugin> {
configure<BasePluginConvention> {
archivesBaseName = "${rootProject.name}-$name"

@ -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",

Loading…
Cancel
Save