diff --git a/src/main/kotlin/org/incendo/cloudbuildlogic/BasePlugin.kt b/src/main/kotlin/org/incendo/cloudbuildlogic/BasePlugin.kt index cd149a6..9c50ddb 100644 --- a/src/main/kotlin/org/incendo/cloudbuildlogic/BasePlugin.kt +++ b/src/main/kotlin/org/incendo/cloudbuildlogic/BasePlugin.kt @@ -27,7 +27,8 @@ class BasePlugin : Plugin { // -processing: ignore unclaimed annotations // -classfile: ignore annotations/annotation methods missing in dependencies // -serial: we don't support java serialization - options.compilerArgs.addAll(listOf("-Xlint:-processing,-classfile,-serial", "-Werror")) + // -options: ignore java 8 deprecation with jdk 21 + options.compilerArgs.addAll(listOf("-Xlint:-processing,-classfile,-serial,-options", "-Werror")) } } }