From 9d10b8f8a6f0e6701c9d44bde1b6e19c79d1138d Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Mon, 3 Jan 2022 15:33:53 +0700 Subject: [PATCH] Lint all warnings --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 7ffaf8dce..c3013b932 100644 --- a/build.gradle +++ b/build.gradle @@ -39,6 +39,10 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { kotlinOptions { freeCompilerArgs = ['-Xjvm-default=all'] } + + compileJava { + options.compilerArgs += ['-Xlint:all'] + } } test {