-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsettings.gradle
143 lines (112 loc) · 6.64 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
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
// Forge
def jeiVersion = "15.20.0.105"
def reiVersion = "12.1.785"
def emiVersion = "1.1.18"
def ae2Version = "15.0.18"
def forgeVersion = "47.1.47"
def registrateForgeVersion = "MC1.20-1.3.3"
def createForgeVersion = "0.5.1.f-26"
def flywheelForgeVersion = "0.6.10-7"
def jadeForgeVersion = "11.7.1"
def botarium_version = "2.3.3"
def ad_astra_version = "1.15.18"
def resourcefullib_version = "2.1.23"
def resourcefulconfig_version = "2.1.2"
def gtmVersion = "1.6.2"
def ldLibVersion = "1.0.31"
def shimmerVersion = "0.2.4"
// 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 spotlessVersion = "6.25.0"
def modDevGradleVersion = "2.0.52-beta"
def macheteVersion = "1.+"
def configurationVersion = "2.2.0"
def mixinextrasVersion = "0.3.5"
def kotlinJemVersion = "1.9.22"
def kotlinPluginVersion = "1.9.22"
def lombokPluginVersion = "8.7.1"
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 shimmer = version("shimmer", "${minecraftVersion}-${shimmerVersion}")
library("shimmer-forge", "com.lowdragmc.shimmer", "Shimmer-forge").versionRef(shimmer)
def registrate = version("registrate", registrateForgeVersion)
library("registrate", "com.tterrag.registrate", "Registrate").versionRef(registrate)
def createForge = version("createForge", createForgeVersion)
library("createForge", "com.simibubi.create", "create-${minecraftVersion}").versionRef(createForge)
def flywheel = version("flywheel", flywheelForgeVersion)
library("flywheel", "com.jozufozu.flywheel", "flywheel-forge-${minecraftVersion}").versionRef(flywheel)
def jei = version("jei", jeiVersion)
library("jei-common-api", "mezz.jei", "jei-${minecraftVersion}-common-api").versionRef(jei)
library("jei-forge-api", "mezz.jei", "jei-${minecraftVersion}-forge-api").versionRef(jei)
library("jei-forge-impl", "mezz.jei", "jei-${minecraftVersion}-forge").versionRef(jei)
def rei = version("rei", reiVersion)
library("rei-plugin", "me.shedaniel", "RoughlyEnoughItems-default-plugin-forge").versionRef(rei)
library("rei-api", "me.shedaniel", "RoughlyEnoughItems-api-forge").versionRef(rei)
library("rei-forge", "me.shedaniel", "RoughlyEnoughItems-forge").versionRef(rei)
def emi = version("emi", emiVersion + "+" + minecraftVersion)
library("emi", "dev.emi", "emi-forge").versionRef(emi)
def jade = version("jade", jadeForgeVersion)
library("jade", "maven.modrinth", "jade").versionRef(jade)
def mixinextras = version("mixinextras", mixinextrasVersion)
library("mixinextras-forge", "io.github.llamalad7", "mixinextras-forge").versionRef(mixinextras)
def configuration = version("configuration", configurationVersion)
library("configuration", "dev.toma.configuration", "configuration-forge-1.20.1").versionRef(configuration)
def ad_astra = version("ad_astra", ad_astra_version)
library("ad_astra", "earth.terrarium.adastra", "ad_astra-forge-1.20.1").versionRef(ad_astra)
def botarium = version("botarium", botarium_version)
library("botarium", "earth.terrarium.botarium", "botarium-forge-${minecraftVersion}").versionRef(botarium)
def resourcefullib = version("resourcefullib", resourcefullib_version)
library("resourcefullib", "com.teamresourceful.resourcefullib", "resourcefullib-forge-${minecraftVersion}").versionRef(resourcefullib)
def resourcefulconfig = version("resourcefulconfig", resourcefulconfig_version)
library("resourcefulconfig", "com.teamresourceful.resourcefulconfig", "resourcefulconfig-forge-${minecraftVersion}").versionRef(resourcefulconfig)
def gtm = version("gtm", gtmVersion)
library("gtm", "com.gregtechceu.gtceu", "gtceu-${minecraftVersion}").versionRef(gtm)
def ae2 = version("ae2", ae2Version)
library("ae2", "appeng", "appliedenergistics2-forge").versionRef(ae2)
}
libs {
version("quiltMappings", quiltMappingsVersion)
version("parchment", parchmentVersion)
def minecraft = version("minecraft", minecraftVersion)
library("minecraft", "com.mojang", "minecraft").versionRef(minecraft)
def shadow = version("shadow", shadowVersion)
plugin("shadow", "com.github.johnrengelman.shadow").versionRef(shadow)
def spotless = version("spotless", spotlessVersion)
plugin("spotless", "com.diffplug.spotless").versionRef(spotless)
def modDevGradle = version("modDevGradleLegacy", modDevGradleVersion)
plugin("modDevGradle", "net.neoforged.moddev.legacyforge").versionRef(modDevGradle)
def machete = version("machete", macheteVersion)
plugin("machete", "io.github.p03w.machete").versionRef(machete)
def lombok = version("lombok", lombokPluginVersion)
plugin("lombok", "io.freefair.lombok").versionRef(lombok)
def kotlinJvm = version("kotlin", kotlinJemVersion)
plugin("kotlin-jvm", "org.jetbrains.kotlin.jvm").versionRef(kotlinJvm)
def kotlinPlugin = version("kotlin-plugin", kotlinPluginVersion)
plugin("kotlin-plugin", "org.jetbrains.kotlin.plugin.serialization").versionRef(kotlinPlugin)
}
}
}
rootProject.name = "${mod_id}"