aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle10
1 files changed, 5 insertions, 5 deletions
diff --git a/build.gradle b/build.gradle
index 9f7503ca..ae8f6013 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,5 @@
plugins {
- id 'fabric-loom' version '0.9-SNAPSHOT'
+ id 'fabric-loom' version '0.10-SNAPSHOT'
id 'maven-publish'
id 'com.modrinth.minotaur' version '1.2.+'
}
@@ -7,8 +7,8 @@ plugins {
import com.modrinth.minotaur.TaskModrinthUpload
import com.modrinth.minotaur.request.VersionType
-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}+${project.minecraft_version}"
@@ -73,8 +73,8 @@ tasks.withType(JavaCompile).configureEach {
// If Javadoc is generated, this must be specified in that task too.
it.options.encoding = "UTF-8"
- // Minecraft 1.17 (21w19a) upwards uses Java 16.
- it.options.release = 16
+ // Minecraft 1.18 upwards uses Java 17.
+ it.options.release = 17
}
java {