Skip to content

Commit

Permalink
[build] Change source compatibility to Java 17 (#6585)
Browse files Browse the repository at this point in the history
  • Loading branch information
spacey-sooty committed May 5, 2024
1 parent 9ed2f66 commit 6a73ca8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ subprojects {

plugins.withType(JavaPlugin) {
java {
sourceCompatibility = 11
targetCompatibility = 11
sourceCompatibility = 17
targetCompatibility = 17
}
}

Expand Down
2 changes: 1 addition & 1 deletion shared/java/javacommon.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ configurations {
tasks.withType(JavaCompile).configureEach {
options.compilerArgs = [
'--release',
'11',
'17',
'-encoding',
'UTF8',
"-Werror",
Expand Down

0 comments on commit 6a73ca8

Please sign in to comment.