Skip to content

Commit 0718423

Browse files
committed
lower compatibility level to java 17
1 parent 71d33b6 commit 0718423

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ processResources {
5050
}
5151

5252
tasks.withType(JavaCompile).configureEach {
53-
it.options.release = 21
53+
it.options.release = 17
5454
}
5555

5656
java {
5757
withSourcesJar()
5858

59-
sourceCompatibility = JavaVersion.VERSION_21
60-
targetCompatibility = JavaVersion.VERSION_21
59+
sourceCompatibility = JavaVersion.VERSION_17
60+
targetCompatibility = JavaVersion.VERSION_17
6161
}
6262

6363
jar {

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"depends": {
2727
"fabricloader": ">=0.14.3",
2828
"minecraft": "1.20.1",
29-
"java": ">=21",
29+
"java": ">=17",
3030
"fabric-api": "*"
3131
},
3232
"accessWidener": "randomworldnames.accesswidener"

src/main/resources/randomworldnames.mixins.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"required": true,
33
"package": "io.github.moehreag.randomworldnames.mixin",
4-
"compatibilityLevel": "JAVA_21",
4+
"compatibilityLevel": "JAVA_17",
55
"client": [
66
"CreateWorldScreenMixin",
77
"WorldCreatorMixin"

0 commit comments

Comments
 (0)