From 4fde8e5742736ff66e6456b27b503e225cbf9cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20M=C3=A9a?= Date: Thu, 22 Jan 2026 14:37:45 -0500 Subject: [PATCH 1/2] APG 9.0.0 migration --- build.gradle | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 109afed..43aaeaf 100644 --- a/build.gradle +++ b/build.gradle @@ -13,16 +13,10 @@ java { targetCompatibility = rootProject.javaVersion toolchain.languageVersion = JavaLanguageVersion.of(rootProject.javaToolchainVersion.toString()) } -compileKotlin { - kotlinOptions { +kotlin { + compilerOptions { jvmTarget = rootProject.javaVersion - allWarningsAsErrors = true - } -} -compileTestKotlin { - kotlinOptions { - jvmTarget = rootProject.javaVersion - allWarningsAsErrors = true + allWarningsAsErrors = true // replaced by "DeprecatedCall" in lint } } From e00035020d5938c738a5d1662e7a8cd620bb1a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20M=C3=A9a?= Date: Thu, 22 Jan 2026 14:43:07 -0500 Subject: [PATCH 2/2] Keep 'allWarningsAsErrors' in build.gradle Retain 'allWarningsAsErrors' setting in Kotlin compiler options. --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 43aaeaf..5ced39e 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ java { kotlin { compilerOptions { jvmTarget = rootProject.javaVersion - allWarningsAsErrors = true // replaced by "DeprecatedCall" in lint + allWarningsAsErrors = true } } @@ -55,4 +55,4 @@ test { events("failed") } } -} \ No newline at end of file +}