-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
59 lines (57 loc) · 1.81 KB
/
settings.gradle
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
exclusiveContent {
forRepository {
maven {
name = 'Fabric'
url = uri("https://maven.fabricmc.net")
}
}
filter {
includeGroup("net.fabricmc")
includeGroup("fabric-loom")
}
}
exclusiveContent {
forRepository {
maven {
name = 'NeoForge'
url = uri("https://maven.neoforged.net/releases")
}
}
filter {
// includeGroupAndSubgroups has an issue until Gradle 8.7, see https://github.com/gradle/gradle/issues/26569
includeGroupByRegex("net\\.neoforged(?:\\..+)?")
includeGroup("codechicken")
}
}
exclusiveContent {
forRepository {
maven {
name = 'Sponge Snapshots'
url = uri("https://repo.spongepowered.org/repository/maven-public")
}
}
filter {
includeGroupByRegex("org\\.spongepowered(?:\\..+)?")
includeGroup("net.minecraftforge")
}
}
exclusiveContent {
forRepository {
maven {
name = 'ParchmentMC'
url = 'https://maven.parchmentmc.org'
}
}
filter { includeGroupByRegex("org\\.parchmentmc(?:\\..+)?") }
}
}
}
plugins {
// Allow Gradle to automatically download arbitrary versions of Java
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}
rootProject.name = "${mod_name.replaceAll("\\W", "")}"