summary refs log tree commit diff stats
path: root/build.gradle
diff options
context:
space:
mode:
authormodmuss50 <modmuss50@gmail.com>2021-11-16 19:30:30 +0000
committermodmuss50 <modmuss50@gmail.com>2021-11-16 19:52:21 +0000
commit57e84b576d24f1b80e1701d4759773234b1ee8ba (patch)
treece9ff2c1d75db60750203a519d69ea257040a9eb /build.gradle
parent466c1a804a8a239e477aeaa851bf983cd5a4c1d7 (diff)
1.18-pre2
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index 973ff94..f2d5db1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,8 +3,8 @@ plugins {
 	id 'maven-publish'
 }
 
-sourceCompatibility = JavaVersion.VERSION_16
-targetCompatibility = JavaVersion.VERSION_16
+sourceCompatibility = JavaVersion.VERSION_17
+targetCompatibility = JavaVersion.VERSION_17
 
 archivesBaseName = project.archives_base_name
 version = project.mod_version
@@ -37,8 +37,8 @@ processResources {
 }
 
 tasks.withType(JavaCompile).configureEach {
-	// Minecraft 1.17 (21w19a) upwards uses Java 16.
-	it.options.release = 16
+	// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
+	it.options.release = 17
 }
 
 java {