mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 08:14:00 +02:00
update to only need java 21 and no older version
This commit is contained in:
parent
2a36ad945d
commit
97beb3ebe0
17 changed files with 12 additions and 139 deletions
|
|
@ -19,14 +19,6 @@ repositories {
|
|||
|
||||
}
|
||||
|
||||
// As minecraft 1.18 work with java 1.17 or above. we set language version to 1.17
|
||||
|
||||
// Configure used version of kotlin and java
|
||||
java {
|
||||
disableAutoTargetJvm()
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
||||
}
|
||||
|
||||
// Set target version
|
||||
tasks.withType<JavaCompile>().configureEach {
|
||||
sourceCompatibility = "17"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue