-
Notifications
You must be signed in to change notification settings - Fork 23
/
settings.gradle.kts
46 lines (45 loc) · 1.38 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
pluginManagement {
repositories {
gradlePluginPortal()
maven {
name = "NeoForged"
setUrl("https://maven.neoforged.net/releases")
}
maven {
setUrl("https://repo.spongepowered.org/repository/maven-public/")
}
maven {
name = "Garden of Fancy"
setUrl("https://maven.gofancy.wtf/releases")
}
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "org.spongepowered.mixin") {
useModule("org.spongepowered:mixingradle:${requested.version}")
}
}
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention").version("0.5.0")
}
rootProject.name = "CubicWorldGen"
// include CC as subproject if it exists
if (file("../1.12").exists()) {
println("Including build at ../1.12/ in composite build")
includeBuild("../1.12") {
name = "CubicChunks"
dependencySubstitution {
substitute(module("io.github.opencubicchunks:cubicchunks")).using(project(":"))
}
}
} else if (file("../CubicChunks").exists()) {
println("Including build at ../CubicChunks/ in composite build")
includeBuild("../CubicChunks") {
name = "CubicChunks"
dependencySubstitution {
substitute(module("io.github.opencubicchunks:cubicchunks")).using(project(":"))
}
}
}