Send analysis to sonarqube
This commit is contained in:
@@ -10,6 +10,7 @@ plugins {
|
||||
id("org.owasp.dependencycheck") version "6.1.1"
|
||||
id("fr.coppernic.versioning") version "3.2.1"
|
||||
id("com.avast.gradle.docker-compose") version "0.14.0"
|
||||
id("org.sonarqube") version "+"
|
||||
}
|
||||
|
||||
group = "io.github.flecomte"
|
||||
@@ -44,6 +45,17 @@ tasks.test {
|
||||
finalizedBy(tasks.ktlintCheck)
|
||||
}
|
||||
|
||||
tasks.jacocoTestReport {
|
||||
dependsOn(tasks.test)
|
||||
reports {
|
||||
xml.required.set(true)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.sonarqube.configure {
|
||||
dependsOn(tasks.jacocoTestReport)
|
||||
}
|
||||
|
||||
tasks.publishToMavenLocal {
|
||||
dependsOn(tasks.test)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user