diff options
| author | 2021-11-16 19:30:30 +0000 | |
|---|---|---|
| committer | 2021-11-16 19:52:21 +0000 | |
| commit | 57e84b576d24f1b80e1701d4759773234b1ee8ba (patch) | |
| tree | ce9ff2c1d75db60750203a519d69ea257040a9eb /build.gradle | |
| parent | Small cleanup (diff) | |
1.18-pre2
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 8 |
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 { |
