-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
34 lines (29 loc) · 1.11 KB
/
settings.gradle.kts
File metadata and controls
34 lines (29 loc) · 1.11 KB
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
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven { url = uri("https://maven.architectury.dev/") }
maven { url = uri("https://maven.fabricmc.net/") }
maven { url = uri("https://maven.minecraftforge.net/") }
maven { url = uri("https://maven.blamejared.com/") }
}
includeBuild("plugins")
}
rootProject.name = "HexDebug"
include(
"DokkaPlugin",
"Common",
"Common:Mojmap",
"Fabric",
"Forge",
)
// architectury uses the project name as the JarJar artifact id for include deps :/
// TODO: can we use capabilities instead? https://github.com/architectury/architectury-loom/blob/05e7217480d858cda2c56d1f17fc75b17beab1fa/src/main/java/net/fabricmc/loom/build/nesting/NestableJarGenerationTask.java#L154
includeNamed("hexdebug-core-common", "Core/Common")
includeNamed("hexdebug-core-common:Mojmap", "Core/Common/Mojmap")
includeNamed("hexdebug-core-fabric", "Core/Fabric")
includeNamed("hexdebug-core-forge", "Core/Forge")
fun includeNamed(name: String, path: String) {
include(name)
project(":$name").projectDir = file(path)
}