-
Notifications
You must be signed in to change notification settings - Fork 9
/
settings.gradle
106 lines (83 loc) · 4.46 KB
/
settings.gradle
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
97
98
99
100
101
102
103
104
105
106
pluginManagement {
repositories {
maven { url "https://maven.fabricmc.net/" }
maven { url "https://maven.architectury.dev/" }
maven { url "https://maven.minecraftforge.net/" }
maven { url "https://maven.quiltmc.org/repository/release" }
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositories {
mavenCentral()
}
versionCatalogs {
// Minecraft Version
def minecraftVersion = "1.20.1"
// Mod Dependencies Versions
// Common
def emiVersion = "1.1.13"
def kjsVersion = "2001.6.4-build.120"
// Forge
def forgeVersion = "47.1.3"
def registrateForgeVersion = "MC1.20-1.3.3"
def topForgeVersion = "1.20.1-10.0.1-3"
def radiumVersion = "0.12.2+git.5f80f74"
// Libs
def quiltMappingsVersion = "5" // https://lambdaurora.dev/tools/import_quilt.html
def parchmentVersion = "2023.09.03" // https://parchmentmc.org/docs/getting-started
def shadowVersion = "7.1.2"
def architecturyPluginVersion = "3.4-SNAPSHOT"
def architecturyLoomVersion = "1.4-SNAPSHOT"
def vineFlowerVersion = "1.+"
def macheteVersion = "1.+"
def configurationVersion = "2.2.0"
def gtCeuVersion = "1.5.0"
def ldLibVersion = "1.0.31"
def mixinExtrasVersion = "0.2.0"
def mixinVersion = "0.8.6-SNAPSHOT"
forge {
version("forgeShortVersion", forgeVersion)
def minecraftForge = version("minecraftForge", "${minecraftVersion}-${forgeVersion}")
library("minecraftForge", "net.minecraftforge", "forge").versionRef(minecraftForge)
def ldLib = version("ldlib", ldLibVersion)
library("ldlib-forge", "com.lowdragmc.ldlib", "ldlib-forge-${minecraftVersion}").versionRef(ldLib)
def registrate = version("registrate", registrateForgeVersion)
library("registrate", "com.tterrag.registrate", "Registrate").versionRef(registrate)
def emi = version("emi", emiVersion + "+" + minecraftVersion)
library("emi", "dev.emi", "emi-forge").versionRef(emi)
def theoneprobe = version("theoneprobe", topForgeVersion)
library("theoneprobe", "mcjty.theoneprobe", "theoneprobe").versionRef(theoneprobe)
def kubejs = version("kubejs", kjsVersion)
library("kubejs-forge", "dev.latvian.mods", "kubejs-forge").versionRef(kubejs)
def gtceu = version("gtceu", gtCeuVersion)
library("gtceu-forge", "com.gregtechceu.gtceu", "gtceu-${minecraftVersion}").versionRef(gtceu)
def configuration = version("configuration", configurationVersion)
library("configuration", "dev.toma.configuration", "configuration-forge-1.20.1").versionRef(configuration)
def mixinExtras = version("mixinExtras", mixinExtrasVersion)
library("mixinExtras-common", "io.github.llamalad7", "mixinextras-common").versionRef(mixinExtras)
library("mixinExtras-forge", "io.github.llamalad7", "mixinextras-forge").versionRef(mixinExtras)
def radium = version("radium", radiumVersion)
library("radium", "me.jellysquid.mods", "radium").versionRef(radium)
}
libs {
version("quiltMappings", quiltMappingsVersion)
version("parchment", parchmentVersion)
def minecraft = version("minecraft", minecraftVersion)
library("minecraft", "com.mojang", "minecraft").versionRef(minecraft)
def mixin = version("mixin", mixinVersion)
library("mixin", "org.spongepowered", "mixin").versionRef(mixin)
def shadow = version("shadow", shadowVersion)
plugin("shadow", "com.github.johnrengelman.shadow").versionRef(shadow)
def architecturyPlugin = version("architectury", architecturyPluginVersion)
plugin("architectury", "architectury-plugin").versionRef(architecturyPlugin)
def architecturyLoom = version("architectury-loom", architecturyLoomVersion)
plugin("architectury-loom", "dev.architectury.loom").versionRef(architecturyLoom)
def vineFlower = version("vineFlower", vineFlowerVersion)
plugin("vineFlower", "io.github.juuxel.loom-vineflower").versionRef(vineFlower)
def machete = version("machete", macheteVersion)
plugin("machete", "io.github.p03w.machete").versionRef(machete)
}
}
}
rootProject.name = "${mod_id}"