aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-04-26 13:16:32 +0200
committerLinnea Gräf <nea@nea.moe>2024-04-26 13:16:32 +0200
commite5f4ad3281cef4ec597d87450189b73afd9dff38 (patch)
treebafb475095c446481b2a406fb353f6fcccc19b24 /build.gradle
parenta496e3f2af51dbf5c6f31488c8d18d52ddcfed15 (diff)
downloadLibGui-1.20.5.tar.gz
LibGui-1.20.5.tar.bz2
LibGui-1.20.5.zip
Janky 1.20.5 fix1.20.5
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 1bab429..b6ce02d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,5 @@
plugins {
- id 'fabric-loom' version '1.4.+'
+ id 'fabric-loom' version '1.6.+'
id 'maven-publish'
id 'checkstyle'
}
@@ -117,8 +117,8 @@ java {
withSourcesJar()
withJavadocJar()
- sourceCompatibility = JavaVersion.VERSION_17
- targetCompatibility = JavaVersion.VERSION_17
+ sourceCompatibility = JavaVersion.VERSION_21
+ targetCompatibility = JavaVersion.VERSION_21
}
tasks.withType(JavaCompile) {
@@ -126,7 +126,7 @@ tasks.withType(JavaCompile) {
// this fixes some edge cases with special characters not displaying correctly
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
options.encoding = "UTF-8"
- options.release.set 17
+ options.release.set 21
}
jar {