File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ base {
10
10
version = project. mod_version
11
11
group = project. maven_group
12
12
13
- java {
14
- sourceCompatibility = JavaVersion . VERSION_21
15
- }
16
-
17
13
loom {
18
14
// use this if you are using the official mojang mappings
19
15
// and want loom to stop warning you about their license
@@ -131,7 +127,7 @@ tasks.withType(JavaCompile) {
131
127
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
132
128
// If Javadoc is generated, this must be specified in that task too.
133
129
options. encoding = " UTF-8"
134
- sourceCompatibility = 21
130
+ sourceCompatibility = 16
135
131
136
132
// The Minecraft launcher currently installs Java 8 for users, so your mod probably wants to target Java 8 too
137
133
// JDK 9 introduced a new way of specifying this that will make sure no newer classes or methods are used.
You can’t perform that action at this time.
0 commit comments