-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.gradle.kts
32 lines (29 loc) · 1.07 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
pluginManagement {
repositories {
gradlePluginPortal()
maven {
name = "Forge"
setUrl("https://maven.neoforged.net/releases")
}
maven {
name = "Fabric"
setUrl("https://maven.fabricmc.net/")
}
maven {
name = "Sponge Snapshots"
setUrl("https://repo.spongepowered.org/repository/maven-public/")
}
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
// This should match the folder name of the project, or else IDEA may complain (see https://youtrack.jetbrains.com/issue/IDEA-317606)
rootProject.name = "MCTweaks"
val mods = arrayOf("StackablePotions", "FastToolSwitching", "UpdatingWorldIcon", "Pale", "NoDurability", "NoIncreasingRepairCost", "HopperBucket", "SplitShulkerBoxes")
mods.forEach { mod ->
// neoforge uses the subproject name for the run configuration so if we try to use the subproject name "forge"
// for multiple subprojects everything explodes. so we tape the project name on to the subproject
// TODO this is kinda annoying, can we avoid this?
include("$mod:common", "$mod:fabric", "$mod:${mod}_forge")
}