Skip to content

Commit

Permalink
Ignore lint warning [try] for test classes
Browse files Browse the repository at this point in the history
  • Loading branch information
bmalinowsky committed Jan 29, 2025
1 parent eb3be79 commit f771e59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ tasks.named<JavaCompile>("compileJava") {
options.javaModuleVersion = project.version.toString()
}

tasks.named<JavaCompile>("compileTestJava") {
options.compilerArgs.add("-Xlint:-try")
}

application {
mainModule.set("io.calimero.core")
mainClass.set("io.calimero.Settings")
Expand Down

0 comments on commit f771e59

Please sign in to comment.