-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.gradle.kts
53 lines (43 loc) · 1.34 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
dependencyResolutionManagement {
addVersionCatalog("mojang")
addVersionCatalog("neoforged")
// addVersionCatalog("mods")
// versionCatalogs.create("mods") {
// this.library("jei-common", "mezz.jei", "jei-1.20.4-common-api").versionRef("jei")
// this.library("jei-neo", "mezz.jei", "jei-1.20.4-neoforge-api").versionRef("jei");
// this.bundle("jei", listOf("jei-common", "jei-neo"))
// this.version("jei", "17.3.0.49")
//
// this.library("jade", "curse.maven", "jade-324717").version("5109393")
// }
}
pluginManagement {
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
maven("https://maven.parchmentmc.org") {
name = "ParchmentMC"
}
maven("https://maven.neoforged.net/releases") {
name = "NeoForged"
}
maven("https://repo.spongepowered.org/repository/maven-public/") {
name = "Sponge Snapshots"
}
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.8.0")
}
rootProject.name = "Gander"
include("core")
include("levels")
include("rendering")
include("ui")
include("testmod")
fun DependencyResolutionManagement.addVersionCatalog(name: String) {
this.versionCatalogs.create(name) {
from(files("./gradle/$name.versions.toml"))
}
}