aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorAaron <51387595+AzureAaron@users.noreply.github.com>2024-04-03 16:51:10 -0400
committerAaron <51387595+AzureAaron@users.noreply.github.com>2024-04-26 16:23:20 -0400
commit87fec063614292700954ce5fa3c73de075b56b58 (patch)
tree8a2e5e9043f3cf544aad04acd13f0cbc161a89f2 /build.gradle
parent9305b5cb8bc483e4d4585fed46ef697cda76e033 (diff)
downloadSkyblocker-87fec063614292700954ce5fa3c73de075b56b58.tar.gz
Skyblocker-87fec063614292700954ce5fa3c73de075b56b58.tar.bz2
Skyblocker-87fec063614292700954ce5fa3c73de075b56b58.zip
24w14a & Java 21
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle11
1 files changed, 3 insertions, 8 deletions
diff --git a/build.gradle b/build.gradle
index 4958c16f..f6c0d984 100644
--- a/build.gradle
+++ b/build.gradle
@@ -97,17 +97,12 @@ processResources {
}
tasks.withType(JavaCompile).configureEach {
- it.options.release = 17
+ it.options.release = 21
}
java {
- // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
- // if it is present.
- // If you remove this line, sources will not be generated.
- withSourcesJar()
-
- sourceCompatibility = JavaVersion.VERSION_17
- targetCompatibility = JavaVersion.VERSION_17
+ sourceCompatibility = JavaVersion.VERSION_21
+ targetCompatibility = JavaVersion.VERSION_21
}
jar {