Skip to content

Commit

Permalink
Set java compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
nea89o committed Apr 7, 2024
1 parent 5747aa0 commit e496170
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions legacy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ plugins {
alias(libs.plugins.dokka)
}

tasks.withType(JavaCompile::class) {
this.javaCompiler.set(javaToolchains.compilerFor {
this.languageVersion.set(JavaLanguageVersion.of(8))
})
}

unimined.minecraft {
version(libs.versions.mc.legacy.get())
mappings {
Expand Down

0 comments on commit e496170

Please sign in to comment.