generated from EpimorphicPioneers/ArchLoom-TemplateMod
-
Notifications
You must be signed in to change notification settings - Fork 4
/
settings.gradle
113 lines (89 loc) · 4.92 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
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 jeiVersion = "15.2.0.27"
def reiVersion = "12.0.684"
def emiVersion = "1.1.4"
def ae2Version = "15.2.2"
def gtmVersion = "1.3.0"
// Forge
def forgeVersion = "47.2.0"
def registrateForgeVersion = "MC1.20-1.3.3"
def jadeForgeVersion = "11.7.1"
// 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.6-SNAPSHOT"
def macheteVersion = "1.+"
def configurationVersion = "2.2.0"
def ldLibVersion = "1.0.25.p"
def mixinextrasVersion = "0.3.2"
def monomorphismLibVersion = "1.1.1-build.25"
def spotlessVersion = "7.0.0.BETA1"
forge {
version("forgeShortVersion", forgeVersion)
def minecraftForge = version("minecratfForge", "${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 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 ae2 = version("ae2", ae2Version)
library("ae2", "appeng", "appliedenergistics2-forge").versionRef(ae2)
def gtm = version("gtm", gtmVersion)
library("gtm", "com.gregtechceu.gtceu", "gtceu-${minecraftVersion}").versionRef(gtm)
def monomorphismLib = version("monomorphism", monomorphismLibVersion)
library("monomorphism", "com.epimorphismmc.monomorphism", "monomorphism-${minecraftVersion}").versionRef(monomorphismLib)
}
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 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 machete = version("machete", macheteVersion)
plugin("machete", "io.github.p03w.machete").versionRef(machete)
def spotless = version("spotless", spotlessVersion)
plugin("spotless", "com.diffplug.spotless").versionRef(spotless)
}
}
}
rootProject.name = "${mod_id}"