This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import se.bjurr.violations.gradle.plugin.ViolationsTask | |
plugins { | |
id("se.bjurr.violations.violations-gradle-plugin") | |
} | |
val outputReportFile = file("$buildDir/reports/violations/code-climate.json") | |
tasks.register<ViolationsTask>("violations") { | |
doFirst { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
pipeline: | |
runs-on: ubuntu-latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@file:DependsOn("io.github.ackeecz:danger-kotlin-detekt:0.1.4") | |
import io.github.ackeecz.danger.detekt.DetektPlugin | |
import systems.danger.kotlin.* | |
import java.io.File | |
register.plugin(DetektPlugin) | |
danger(args) { | |
warnDetekt() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io.gitlab.arturbosch.detekt.Detekt | |
import io.gitlab.arturbosch.detekt.DetektPlugin | |
import io.gitlab.arturbosch.detekt.report.ReportMergeTask | |
plugins { | |
base | |
id("io.gitlab.arturbosch.detekt") // We need to apply this plugin with version in build.gradle.kts | |
} | |
dependencies { |