Skip to content

Commit

Permalink
fix some projects thinking they're using java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
iiAhmedYT committed Nov 4, 2024
1 parent ac9513a commit 331d108
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions adventure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ dependencies {
compileOnly 'org.jetbrains:annotations:24.1.0'
annotationProcessor('org.jetbrains:annotations:24.1.0')
}

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
4 changes: 4 additions & 0 deletions brigadier/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ dependencies {
compileOnly 'org.jetbrains:annotations:24.1.0'
annotationProcessor('org.jetbrains:annotations:24.1.0')
}

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
4 changes: 4 additions & 0 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ dependencies {
test {
useJUnitPlatform()
}

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}

0 comments on commit 331d108

Please sign in to comment.