mirror of
https://github.com/CompeyDev/elytra-lock-fabric.git
synced 2024-12-12 04:40:41 +00:00
chore: support java 21 or higher for 1.20.6
This commit is contained in:
parent
7571bd68f6
commit
b35b2f3264
1 changed files with 5 additions and 5 deletions
10
build.gradle
10
build.gradle
|
@ -64,14 +64,14 @@ processResources {
|
|||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
it.options.release = 17
|
||||
it.options.release = 21
|
||||
}
|
||||
|
||||
java {
|
||||
withSourcesJar()
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
sourceCompatibility = JavaVersion.VERSION_21
|
||||
targetCompatibility = JavaVersion.VERSION_21
|
||||
}
|
||||
|
||||
jar {
|
||||
|
@ -87,11 +87,11 @@ modrinth {
|
|||
debugMode = false
|
||||
uploadFile = remapJar
|
||||
loaders = ["fabric", "quilt"]
|
||||
syncBodyFrom = rootProject.file("README.md").text
|
||||
// syncBodyFrom = rootProject.file("README.md").text
|
||||
dependencies {
|
||||
required.project "fabric-api"
|
||||
optional.version "modmenu", "${project.modmenu_version}"
|
||||
optional.version "yacl", "${project.yacl_version}-fabric"
|
||||
optional.version "yacl", "${project.yacl_version}"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue