-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
95 lines (76 loc) · 2.09 KB
/
settings.gradle.kts
File metadata and controls
95 lines (76 loc) · 2.09 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
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
@file:Suppress("UnstableApiUsage")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
rootProject.name = "railx"
pluginManagement {
includeBuild("build-logic")
repositories {
gradlePluginPortal()
maven(url = "https://maven.neoforged.net/releases")
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
id("railx.neoforged.moddev.repositories")
}
dependencyResolutionManagement {
repositoriesMode = RepositoriesMode.PREFER_SETTINGS
repositories {
mavenCentral()
exclusiveContent {
forRepository {
maven(url = "https://api.modrinth.com/maven") { name = "Modrinth Maven" }
}
filter { includeGroup("maven.modrinth") }
}
maven(url = "https://thedarkcolour.github.io/KotlinForForge/") {
name = "Kotlin for Forge Maven"
content { includeGroup("thedarkcolour") }
}
maven(url = "https://maven.createmod.net/") {
name = "Create Maven"
content {
includeGroup("com.simibubi.create")
includeGroup("dev.engine-room.flywheel")
includeGroup("net.createmod.catnip")
includeGroup("net.createmod.ponder")
}
}
maven(url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/") {
name = "Fuzss Maven for ForgeConfigApiPort"
content { includeGroup("fuzs.forgeconfigapiport") }
}
maven(url = "https://mvn.devos.one/snapshots") {
name = "Maven for Registrate"
content {
includeGroup("com.tterrag.registrate")
}
}
maven(url = "https://maven.squiddev.cc") {
name = "SquidDev Maven for CC: Tweaked"
content {
includeGroup("cc.tweaked")
}
}
maven(url = "https://maven.enginehub.org/repo/") {
name = "EngineHub Maven for WorldEdit"
content { includeGroupAndSubgroups("com.sk89q") }
}
maven(url = "https://repo.spongepowered.org/repository/maven-public/") {
name = "Sponge Maven"
content {
includeGroup("org.spongepowered")
}
}
}
}
val projects = listOf(
":minecraft",
":utils",
":cc-asm", ":api",
":forge"
)
projects.forEach { name ->
include(name)
val project = project(name)
project.projectDir = file("modules${name.replace(":", "/")}")
}