Skip to content

Commit

Permalink
Enable additional warnings during build
Browse files Browse the repository at this point in the history
Signed-off-by: Patryk Miś <[email protected]>
  • Loading branch information
PatrykMis committed May 20, 2024
1 parent a25c34f commit 03fbe47
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@ plugins {
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.ksp) apply false
}

allprojects {
tasks.withType<JavaCompile> {
val compilerArgs = options.compilerArgs
compilerArgs.add("-Xlint:unchecked")
compilerArgs.add("-Xlint:deprecation")
}
}

0 comments on commit 03fbe47

Please sign in to comment.