Skip to content

Commit

Permalink
Compilation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdietl committed Dec 27, 2024
1 parent 55b83e5 commit 0e2b079
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,9 @@ tasks.withType(JavaCompile).configureEach {
// "-Xlint:-options" is because of JDK 21 warning "source value 8 is obsolete..."
options.compilerArgs << '-Xlint:all,-processing,-options' << '-Werror'
options.forkOptions.jvmArgs += '-Xmx2g'
options.release = 8
if (isJava21orHigher) {
options.compilerArgs << '-Xlint:-this-escape,-options'
}
options.errorprone.enabled = isJava11orHigher
options.errorprone {
disable('ExtendsObject') // Incorrect when using the Checker Framework
disable('ReferenceEquality') // Use Interning Checker instead.
Expand Down

0 comments on commit 0e2b079

Please sign in to comment.