-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathsettings.gradle.kts
52 lines (42 loc) · 1.43 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
dependencyResolutionManagement {
addVersionCatalog(this, "neoforged")
addVersionCatalog(this, "mojang")
addVersionCatalog(this, "compactmods")
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 {
plugins {
id("idea")
id("eclipse")
id("maven-publish")
}
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
// maven("https://maven.architectury.dev/")
maven("https://maven.parchmentmc.org") {
name = "ParchmentMC"
}
maven("https://maven.neoforged.net/releases") {
name = "NeoForged"
}
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.8.0")
}
include(":core-api")
include(":neoforge-main")
include(":neoforge-datagen")
fun addVersionCatalog(dependencyResolutionManagement: DependencyResolutionManagement, name: String) {
dependencyResolutionManagement.versionCatalogs.create(name) {
from(files("./gradle/$name.versions.toml"))
}
}