Skip to content

Commit 4b0f5af

Browse files
author
Ivan Dyatlov
committed
Use 1.0.1 version of Detekt to fix build issue with Jitpack
1 parent fff468d commit 4b0f5af

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

build.gradle.kts

+6-9
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@ plugins {
88

99
configure<DetektExtension> {
1010
debug = true
11-
version = "1.0.0.RC6-4"
12-
profile = "main"
13-
14-
profile("main", Action {
15-
input = rootProject.projectDir.absolutePath
16-
filters = ".*/resources/.*,.*/build/.*,.*/sample-app/.*"
17-
config = "${rootProject.projectDir}/default-detekt-config.yml"
18-
baseline = "${rootProject.projectDir}/reports/baseline.xml"
19-
})
11+
version = "1.0.1"
12+
13+
input = files(rootProject.projectDir.absolutePath)
14+
filters = ".*/resources/.*,.*/build/.*,.*/sample-app/.*"
15+
config = files("${rootProject.projectDir}/default-detekt-config.yml")
16+
baseline = file("${rootProject.projectDir}/reports/baseline.xml")
2017
}
2118

2219
allprojects {

settings.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pluginManagement {
66
plugins {
77
id("org.jetbrains.kotlin.jvm") version "1.9.22"
88
id("org.jetbrains.dokka") version "0.9.17"
9-
id("io.gitlab.arturbosch.detekt") version "1.0.0.RC6-4"
9+
id("io.gitlab.arturbosch.detekt") version "1.0.1"
1010
}
1111
}
1212

0 commit comments

Comments
 (0)