From fd1dbb284cda90594f4c60a6c1822443dd466517 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 6 Aug 2024 00:41:35 +0200 Subject: [PATCH] Complete includeGroups and repository order --- settings.gradle.kts | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index 7c6f3c84..49fbfa9f 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -27,7 +27,6 @@ private val isInCi by lazy { Os.isFamily(Os.FAMILY_UNIX) && ProcessBuilder("host dependencyResolutionManagement { repositories { - mavenCentral() maven { url = URI("https://m2.dv8tion.net/releases") @@ -43,12 +42,10 @@ dependencyResolutionManagement { } } - if (isInCi) { - maven { + maven { + if (isInCi) { url = URI("file:///var/www/html/maven/") - } - } else { - maven { + } else { url = URI("https://steamwar.de/maven/") credentials { val swProps = Properties() @@ -58,27 +55,43 @@ dependencyResolutionManagement { password = swProps.getProperty("maven.password") } } + + content { + includeGroup("de.steamwar") + } } maven { url = URI("https://repo.codemc.io/repository/maven-snapshots/") - } - - maven { - url = URI("https://hub.spigotmc.org/nexus/content/repositories/snapshots/") + content { + includeGroup("net.wesjd") + } } maven { url = URI("https://libraries.minecraft.net") + content { + includeGroup("com.mojang") + } } maven { url = URI("https://repo.viaversion.com") + content { + includeGroup("com.viaversion") + } } maven { url = URI("https://repo.papermc.io/repository/maven-public/") + content { + includeGroup("org.bukkit") + includeGroup("org.spigotmc") + includeGroup("io.papermc.paper") + includeGroup("com.velocitypowered") + } } + mavenCentral() } versionCatalogs {