mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-02 16:49:12 +00:00
Update detekt
This temporarily disables the custom detekt rules, as they break the build in hard-to-debug ways.
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user