From 7875b214cb80518cc30cc9d3802169df036fde18 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 28 Sep 2024 19:29:15 -0400 Subject: [PATCH] enable all javac lints other than serial --- build.gradle.kts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3b67b9a4..f58fff1a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,8 +5,6 @@ plugins { allprojects { tasks.withType { - val compilerArgs = options.compilerArgs - compilerArgs.add("-Xlint:unchecked") - compilerArgs.add("-Xlint:deprecation") + options.compilerArgs.addAll(listOf("-Xlint", "-Xlint:-serial")) } }