Add Modrinth maven, use exclusiveContent for cursemaven too (#205)

This commit is contained in:
Raven Szewczyk authored and GitHub committed 2023-07-23 09:26:13 +00:00
1 parent cbabe7f176
commit 420f8a8e2b
1 file changed
+19 -4
+19 -4
View File
@@ -575,13 +575,28 @@ repositories {
}
}
if (includeWellKnownRepositories.toBoolean()) {
maven {
name "CurseMaven"
url "https://cursemaven.com"
content {
exclusiveContent {
forRepository {
maven {
name "CurseMaven"
url "https://cursemaven.com"
}
}
filter {
includeGroup "curse.maven"
}
}
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup "maven.modrinth"
}
}
maven {
name = "ic2"
url = "https://maven.ic2.player.to/"