Complete includeGroups and repository order

This commit is contained in:
Lixfel
2024-08-06 00:41:35 +02:00
parent da3d0a97b5
commit fd1dbb284c
+23 -10
View File
@@ -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 {