-
Notifications
You must be signed in to change notification settings - Fork 70
/
settings.gradle.kts
96 lines (73 loc) · 2.51 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
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
96
dependencyResolutionManagement {
versionCatalogs.create("neoforged") {
val nf = "21.1.79"
version("neoforge", nf)
version("mdg", "2.0.42-beta")
version("neoforgeRange") {
require("[$nf,)")
prefer(nf)
}
// plugin("neogradle", "net.neoforged.gradle.userdev")
// .versionRef("neogradle")
plugin("moddev", "net.neoforged.moddev")
.versionRef("mdg")
library("neoforge", "net.neoforged", "neoforge")
.versionRef("neoforge")
library("testframework", "net.neoforged", "testframework")
.versionRef("neoforge")
}
versionCatalogs.create("mojang") {
version("minecraft", "1.21.1")
version("minecraftRange") {
this.require("[1.21, 1.21.2)")
this.prefer("1.21.1")
}
}
versionCatalogs.create("compactmods") {
version("feather", "0.1.8")
version("spatial", "0.2.1")
library("feather", "dev.compactmods", "feather")
.versionRef("feather")
library("spatial", "dev.compactmods", "spatial")
.versionRef("spatial")
}
versionCatalogs.create("libraries") {
library("jnanoid", "com.aventrix.jnanoid", "jnanoid")
.versionRef("jnanoid")
version("jnanoid", "[2.0.0, 3)")
version("parchment-mc", "1.21")
version("parchment", "2024.07.28")
}
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")