Skip to content

Commit 77cec4f

Browse files
committed
Revert "Update to Java 18 and Loom 0.12"
This reverts commit 230c0f6.
1 parent a09cd9f commit 77cec4f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
plugins {
2-
id 'fabric-loom' version '0.12-SNAPSHOT'
2+
id 'fabric-loom' version '0.10-SNAPSHOT'
33
id 'maven-publish'
44
}
55

6-
sourceCompatibility = JavaVersion.VERSION_18
7-
targetCompatibility = JavaVersion.VERSION_18
6+
sourceCompatibility = JavaVersion.VERSION_17
7+
targetCompatibility = JavaVersion.VERSION_17
88

99
archivesBaseName = project.archives_base_name
1010
version = project.mod_version
@@ -38,8 +38,8 @@ tasks.withType(JavaCompile).configureEach {
3838
// If Javadoc is generated, this must be specified in that task too.
3939
it.options.encoding = "UTF-8"
4040

41-
// Minecraft 1.19 upwards uses Java 18.
42-
it.options.release = 18
41+
// Minecraft 1.18 upwards uses Java 17.
42+
it.options.release = 17
4343
}
4444

4545
java {

0 commit comments

Comments
 (0)