diff --git a/build.gradle.kts b/build.gradle.kts index 33d94dd..7b680a4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,3 @@ - import io.gitlab.arturbosch.detekt.Detekt import io.gitlab.arturbosch.detekt.DetektCreateBaselineTask import org.jetbrains.kotlin.gradle.tasks.KotlinCompile @@ -11,7 +10,7 @@ plugins { } group = "dev.gmarmstrong" -version = "0.1.0" +version = "0.1.1" repositories { mavenCentral() @@ -19,9 +18,9 @@ repositories { detekt { buildUponDefaultConfig = true // preconfigure defaults - allRules = false // activate all available (even unstable) rules. - config = files("$projectDir/config/detekt/detekt.yml") // point to your custom config defining rules to run, overwriting default behavior - baseline = file("$projectDir/config/detekt/baseline.xml") // a way of suppressing issues before introducing detekt + allRules = false // whether to activate all available (even unstable) rules. + config = files("$projectDir/config/detekt/detekt.yml") // point to custom config + baseline = file("$projectDir/config/detekt/baseline.xml") // suppress issues before introducing detekt } dependencies { @@ -61,8 +60,7 @@ tasks.withType().configureEach { reports { html.required.set(true) // observe findings in your browser with structure and code snippets xml.required.set(true) // checkstyle like format mainly for integrations like Jenkins - txt.required.set(true) // similar to the console output, contains issue signature to manually edit baseline files - sarif.required.set(true) // standardized SARIF format (https://sarifweb.azurewebsites.net/) to support integrations with Github Code Scanning + txt.required.set(true) // similar to console output, contains issue signature to manually edit baseline files + sarif.required.set(true) // standardized SARIF format to support integrations with GitHub Code Scanning } } -