forked from SteamWar/SteamWar
Complete includeGroups and repository order
This commit is contained in:
+23
-10
@@ -27,7 +27,6 @@ private val isInCi by lazy { Os.isFamily(Os.FAMILY_UNIX) && ProcessBuilder("host
|
|||||||
|
|
||||||
dependencyResolutionManagement {
|
dependencyResolutionManagement {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
url = URI("https://m2.dv8tion.net/releases")
|
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/")
|
url = URI("file:///var/www/html/maven/")
|
||||||
}
|
} else {
|
||||||
} else {
|
|
||||||
maven {
|
|
||||||
url = URI("https://steamwar.de/maven/")
|
url = URI("https://steamwar.de/maven/")
|
||||||
credentials {
|
credentials {
|
||||||
val swProps = Properties()
|
val swProps = Properties()
|
||||||
@@ -58,27 +55,43 @@ dependencyResolutionManagement {
|
|||||||
password = swProps.getProperty("maven.password")
|
password = swProps.getProperty("maven.password")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
content {
|
||||||
|
includeGroup("de.steamwar")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
url = URI("https://repo.codemc.io/repository/maven-snapshots/")
|
url = URI("https://repo.codemc.io/repository/maven-snapshots/")
|
||||||
}
|
content {
|
||||||
|
includeGroup("net.wesjd")
|
||||||
maven {
|
}
|
||||||
url = URI("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
url = URI("https://libraries.minecraft.net")
|
url = URI("https://libraries.minecraft.net")
|
||||||
|
content {
|
||||||
|
includeGroup("com.mojang")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
url = URI("https://repo.viaversion.com")
|
url = URI("https://repo.viaversion.com")
|
||||||
|
content {
|
||||||
|
includeGroup("com.viaversion")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
url = URI("https://repo.papermc.io/repository/maven-public/")
|
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 {
|
versionCatalogs {
|
||||||
|
|||||||
Reference in New Issue
Block a user