forked from cc-tweaked/CC-Tweaked
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
68 lines (58 loc) · 1.65 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
pluginManagement {
// Duplicated in buildSrc/build.gradle.kts
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://maven.minecraftforge.net") {
name = "Forge"
content {
includeGroup("net.minecraftforge")
includeGroup("net.minecraftforge.gradle")
}
}
maven("https://maven.parchmentmc.org") {
name = "Librarian"
content {
includeGroupByRegex("^org\\.parchmentmc.*")
}
}
maven("https://repo.spongepowered.org/repository/maven-public/") {
name = "Sponge"
content {
includeGroup("org.spongepowered")
includeGroup("org.spongepowered.gradle.vanilla")
}
}
maven("https://maven.fabricmc.net/") {
name = "Fabric"
content {
includeGroup("fabric-loom")
includeGroup("net.fabricmc")
}
}
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "org.spongepowered.mixin") {
useModule("org.spongepowered:mixingradle:${requested.version}")
}
}
}
}
val mcVersion: String by settings
rootProject.name = "cc-tweaked-$mcVersion"
include(":core-api")
include(":core")
include(":mc-stubs")
include(":forge-stubs")
include(":common-api")
include(":common")
include(":fabric-api")
include(":fabric")
include(":forge-api")
include(":forge")
include(":lints")
include(":web")
for (project in rootProject.children) {
project.projectDir = file("projects/${project.name}")
}