mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-04 13:54:35 +01:00
Does this make java 21?
This commit is contained in:
parent
b0c8835b25
commit
c9564ebc7b
@ -2,6 +2,12 @@ plugins {
|
||||
`java-library`
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(21))
|
||||
}
|
||||
}
|
||||
|
||||
subprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -30,13 +36,11 @@ subprojects {
|
||||
|
||||
apply(plugin = "java-library")
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
options.encoding = "UTF-8"
|
||||
sourceCompatibility = "1.8"
|
||||
sourceCompatibility = "8"
|
||||
targetCompatibility = "8"
|
||||
}
|
||||
|
||||
group = "me.libraryaddict.disguises"
|
||||
|
@ -62,10 +62,6 @@ tasks {
|
||||
}
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_21
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = "me.libraryaddict.disguise.utilities.watchers.CompileMethods"
|
||||
applicationDefaultJvmArgs = listOf(
|
||||
|
Loading…
Reference in New Issue
Block a user