Skip to content

Commit 27a7b17

Browse files
committed
Bump to latest (except forge fy)
1 parent 29b6a9a commit 27a7b17

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

build.gradle.kts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2+
import net.fabricmc.loom.api.LoomGradleExtensionAPI
23
import net.fabricmc.loom.task.RemapJarTask
34
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
45
import java.util.*
@@ -15,6 +16,8 @@ val minecraftVersion: String by project
1516
val yarnMappings: String by project
1617

1718
val libs = file("libs")
19+
val Project.loom: LoomGradleExtensionAPI
20+
get() = (this as ExtensionAware).extensions.getByName("loom") as LoomGradleExtensionAPI
1821

1922
plugins {
2023
kotlin("jvm") version "2.0.0"
@@ -102,14 +105,14 @@ allprojects {
102105
java {
103106
withSourcesJar()
104107

105-
sourceCompatibility = JavaVersion.VERSION_22
106-
targetCompatibility = JavaVersion.VERSION_22
108+
sourceCompatibility = JavaVersion.VERSION_21
109+
targetCompatibility = JavaVersion.VERSION_21
107110
}
108111

109112
tasks {
110113
compileKotlin {
111114
compilerOptions {
112-
jvmTarget.set(JvmTarget.JVM_22)
115+
jvmTarget.set(JvmTarget.JVM_21)
113116
}
114117
}
115118
}

gradle.properties

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,23 @@ modAuthors=Constructor, Blade, Edouard127
77

88
# General
99
minecraftVersion=1.20.4
10-
mixinExtrasVersion=0.3.5
10+
mixinExtrasVersion=0.3.6
1111
kotlinVersion=2.0.0
1212
kotlinxCoroutinesVersion=1.9.0-RC
1313

1414
# Fabric https://fabricmc.net/develop/
15-
fabricLoaderVersion=0.15.7
15+
fabricLoaderVersion=0.15.11
1616
yarnMappings=build.3
17-
fabricApiVersion=0.96.4
18-
kotlinFabricVersion=1.10.19+kotlin.1.9.23
17+
fabricApiVersion=0.97.1
18+
kotlinFabricVersion=1.11.0+kotlin.2.0.0
1919

2020
# Forge https://files.minecraftforge.net/
21+
# Please do not change this version it will implode and create a black hole
2122
forgeVersion=49.0.31
22-
kotlinForgeVersion=5.3.0
23+
kotlinForgeVersion=4.11.0
2324

2425
# NeoForge https://neoforged.net
25-
neoVersion=20.4.234
26+
neoVersion=20.4.237
2627

2728
# Kotlin https://kotlinlang.org/
2829
kotlin.code.style=official

0 commit comments

Comments
 (0)