9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2025-12-31 04:46:42 +00:00

Updated to Java 21

This commit is contained in:
Auxilor
2024-06-24 13:53:32 +01:00
parent 063dc05b4e
commit 5ef604c464
6 changed files with 13 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ plugins {
`java-library`
`maven-publish`
kotlin("jvm") version "1.9.20"
id("com.github.johnrengelman.shadow") version "8.0.0"
id("io.github.goooler.shadow") version "8.1.7"
id("com.willfp.libreforge-gradle-plugin") version "1.0.0"
}
@@ -25,7 +25,7 @@ allprojects {
apply(plugin = "java")
apply(plugin = "kotlin")
apply(plugin = "maven-publish")
apply(plugin = "com.github.johnrengelman.shadow")
apply(plugin = "io.github.goooler.shadow")
repositories {
mavenLocal()
@@ -44,7 +44,7 @@ allprojects {
java {
withSourcesJar()
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
tasks {
@@ -55,7 +55,7 @@ allprojects {
compileKotlin {
kotlinOptions {
jvmTarget = "17"
jvmTarget = "21"
}
}