Update detekt

This temporarily disables the custom detekt rules, as they break the
build in hard-to-debug ways.
This commit is contained in:
Major
2019-07-13 19:00:22 +01:00
parent 8753bedf7e
commit a8d9db5009
2 changed files with 10 additions and 16 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ plugins {
id 'org.jetbrains.intellij' version '0.4.9' apply(false)
id 'org.jmailen.kotlinter' version '1.16.0' apply(false)
id 'org.sonarqube' version '2.6.2'
id "io.gitlab.arturbosch.detekt" version "1.0.0.RC8"
id "io.gitlab.arturbosch.detekt" version '1.0.0-RC16'
}
allprojects {
@@ -26,7 +26,7 @@ gradle.projectsEvaluated {
task check {
def deps = []
deps += getTasksByName("check", true).findAll { it.project != rootProject }
deps += detektCheck
deps += "detekt"
deps += jacocoReport
dependsOn(deps)
+8 -14
View File
@@ -1,21 +1,15 @@
def detektAggregateReport = "$buildDir/reports/detekt-report.xml"
detekt {
version = detektVersion
profile("main") {
input = rootProject.projectDir.absolutePath
filters = ".*/resources/.*, .*/build/.*"
output = file("$buildDir/reports")
outputName = "detekt-report"
config = file("$rootDir/gradle/config/detekt.yml")
parallel = true
}
repositories {
maven { url "https://repo.spring.io/plugins-release/" }
}
dependencies {
detekt group: 'io.gitlab.arturbosch.detekt', name: 'detekt-formatting', version: detektVersion
detekt project(':game:plugin-detekt-rules')
detekt {
toolVersion = detektVersion
input = files(rootProject.projectDir.absolutePath)
filters = ".*/resources/.*, .*/build/.*"
config = files("$rootDir/gradle/config/detekt.yml")
parallel = true
}
sonarqube {