From 782e698a0a9b2d2ff914e402234cd8560f82c2d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Mi=C5=9B?= Date: Mon, 20 May 2024 23:47:01 +0200 Subject: [PATCH] Enable additional warnings during build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patryk Miś --- build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 03c28c8..fb6df00 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -23,3 +23,11 @@ plugins { alias(libs.plugins.kotlin.android) apply false alias(libs.plugins.ksp) apply false } + +allprojects { + tasks.withType { + val compilerArgs = options.compilerArgs + compilerArgs.add("-Xlint:unchecked") + compilerArgs.add("-Xlint:deprecation") + } +}