-
Notifications
You must be signed in to change notification settings - Fork 13
/
settings.gradle.kts
38 lines (35 loc) · 1.26 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
pluginManagement {
repositories {
fun exclusiveMaven(url: String, filter: Action<InclusiveRepositoryContentDescriptor>) =
exclusiveContent {
forRepository { maven(url) }
filter(filter)
}
exclusiveMaven("https://maven.minecraftforge.net") {
includeGroupByRegex("net\\.minecraftforge.*")
}
exclusiveMaven("https://maven.parchmentmc.org") {
includeGroupByRegex("org\\.parchmentmc.*")
}
exclusiveMaven("https://maven.fabricmc.net/") {
includeGroup("net.fabricmc")
includeGroup("fabric-loom")
}
exclusiveMaven("https://repo.spongepowered.org/repository/maven-public/") {
includeGroupByRegex("org\\.spongepowered.*")
}
exclusiveMaven("https://alcatrazescapee.jfrog.io/artifactory/mods") {
includeGroupByRegex("com\\.alcatrazescapee.*")
}
gradlePluginPortal()
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "org.spongepowered.mixin") {
useModule("org.spongepowered:mixingradle:${requested.version}")
}
}
}
}
rootProject.name = "NoTreePunching-1.20"
include("Common", "Fabric", "Forge")