Skip to content
Snippets Groups Projects
Commit e08f5fa7 authored by Arnaud LABOUREL's avatar Arnaud LABOUREL
Browse files

Added spotbugs gradle config

parent e97370ae
Branches
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ plugins {
id("java")
id("application")
id("pmd")
id("com.github.spotbugs") version "6.1.3"
}
repositories {
......@@ -13,6 +14,9 @@ dependencies {
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.4")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.assertj:assertj-core:3.27.0")
}
tasks.test {
......@@ -28,7 +32,9 @@ pmd {
ruleSets = listOf("rulesets/java/quickstart.xml", "category/java/errorprone.xml", "category/java/bestpractices.xml")
}
spotbugs {
toolVersion = "4.9.0"
}
application {
mainClass.set("Main")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment