1
0
mirror of https://github.com/google/nomulus synced 2025-12-23 06:15:42 +00:00

Re-enable Java 17 features (#2333)

This commit is contained in:
Lai Jiang
2024-02-21 15:04:07 -05:00
committed by GitHub
parent 7a301edab7
commit 9d0ff74377
26 changed files with 52 additions and 106 deletions

View File

@@ -133,8 +133,6 @@ tasks.withType(JavaCompile).configureEach {
options.errorprone.disable("LongDoubleConversion")
// Allow import of commonly-used names such as "Type".
options.errorprone.disable("BadImport")
// TODO: enable this once we are on Java 17 runtime.
options.errorprone.disable("InlineMeInliner")
options.errorprone.disableWarningsInGeneratedCode = true
options.errorprone.errorproneArgumentProviders.add([
asArguments: {