Skip to content

Commit ca5835a

Browse files
committed
Bring up-to-date
1 parent 218dce2 commit ca5835a

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

build.gradle.kts

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import dev.deftu.gradle.utils.GameSide
44

55
plugins {
66
java
7-
kotlin("jvm") version("2.0.0")
8-
val dgtVersion = "2.27.1"
7+
kotlin("jvm") version("2.0.10")
8+
val dgtVersion = "2.35.0"
99
id("dev.deftu.gradle.tools") version(dgtVersion) // Applies several configurations to things such as the Java version, project name/version, etc.
1010
id("dev.deftu.gradle.tools.resources") version(dgtVersion) // Applies resource processing so that we can replace tokens, such as our mod name/version, in our resources.
1111
id("dev.deftu.gradle.tools.bloom") version(dgtVersion) // Applies the Bloom plugin, which allows us to replace tokens in our source files, such as being able to use `@MOD_VERSION` in our source files.
@@ -16,13 +16,8 @@ plugins {
1616

1717
toolkitLoomHelper {
1818
useOneConfig {
19-
version = "1.0.0-alpha.70"
20-
loaderVersion = "1.1.0-alpha.44"
21-
22-
usePolyMixin = true
23-
polyMixinVersion = "0.8.4+build.2"
24-
25-
applyLoaderTweaker = true
19+
version = "1.0.0-alpha.106"
20+
loaderVersion = "1.1.0-alpha.46"
2621

2722
for (module in arrayOf("commands", "config", "config-impl", "events", "internal", "ui", "utils")) {
2823
+module
@@ -36,12 +31,5 @@ toolkitLoomHelper {
3631
disableRunConfigs(GameSide.SERVER)
3732

3833
// Defines the name of the Mixin refmap, which is used to map the Mixin classes to the obfuscated Minecraft classes.
39-
if (!mcData.isNeoForge) {
40-
useMixinRefMap(modData.id)
41-
}
42-
43-
if (mcData.isForge) {
44-
// Configures the Mixin tweaker if we are building for Forge.
45-
useForgeMixin(modData.id)
46-
}
34+
useMixinRefMap(modData.id)
4735
}

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ org.gradle.parallel=true
44
org.gradle.configureoncommand=true
55
org.gradle.parallel.threads=4
66
org.gradle.jvmargs=-Xmx2G
7+
loom.ignoreDependencyLoomVersionValidation=true
78

89
# gradle.properties file -- CHANGE THE VALUES STARTING WITH `mod.*` AND REMOVE THIS COMMENT.
910

@@ -19,4 +20,4 @@ mod.group=org.polyfrost
1920
# Configures the mod loader that we're developing for.
2021
loom.platform=fabric
2122
# Configures the Minecraft version that we're developing for.
22-
minecraft.version=1.20.4
23+
minecraft.version=1.21.5

0 commit comments

Comments
 (0)