Skip to content

Commit

Permalink
Enable reflection for java.lang module since upgrading to Java 17 (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bcl authored Jan 3, 2023
1 parent 7053422 commit 397e0d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ java {

// Spring Boot
springBoot { buildInfo() }
bootBuildImage {
environment['BPE_DELIM_JAVA_TOOL_OPTIONS'] = ' '
environment['BPE_APPEND_JAVA_TOOL_OPTIONS'] = '--add-opens=java.base/java.lang=ALL-UNNAMED'
}
gitProperties { failOnNoGitDirectory = false }
jar { enabled = false }

Expand Down

0 comments on commit 397e0d6

Please sign in to comment.