Skip to content

Commit

Permalink
Updated Java environment variables
Browse files Browse the repository at this point in the history
Removed `-Xverify:none` as it's deprecated in Java 17.
  • Loading branch information
freemanjp committed Sep 17, 2023
1 parent d32f4a9 commit 2efd459
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions provisioning/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -524,11 +524,9 @@
M2_HOME: "{{ ansible_local.maven.general.home }}"
# -XX:TieredStopAtLevel=1 disables hotspot profiling and higher tiers of
# optimization, which Maven builds are too short lived to benefit from.
# -Xverify:none disables class verification; not something you should
# ever use in production (or on your CI) but ok for local development.
MAVEN_OPTS: '-XX:TieredStopAtLevel=1 -Xverify:none'
MAVEN_OPTS: '-XX:TieredStopAtLevel=1'
# Affects the Gradle client not the Gradle server
GRADLE_OPTS: '-Xmx64m -XX:TieredStopAtLevel=1 -Xverify:none'
GRADLE_OPTS: '-Xmx64m -XX:TieredStopAtLevel=1'

# Configure Zsh
- role: zsh
Expand Down

0 comments on commit 2efd459

Please sign in to comment.