forked from muhrifqii/ParseRSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
31 lines (28 loc) · 914 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
plugins {
id 'com.android.application' version "${agp_version}" apply false
id 'com.android.library' version "${agp_version}" apply false
id 'org.jetbrains.kotlin.android' version "${kotlin_version}" apply false
id "io.gitlab.arturbosch.detekt" version "1.20.0-RC2"
id "com.diffplug.spotless" version "6.4.1" apply false
}
apply from: 'root-reportings.gradle'
task clean(type: Delete) {
delete rootProject.buildDir
}
detekt {
toolVersion = "1.19.0"
buildUponDefaultConfig = true
config = files("$projectDir/detekt.yml")
parallel = true
setSource(files(projectDir))
// DEPRECATED
// reports {
// xml.required.set(true)
// html.required.set(true)
// txt.required.set(false)
// sarif.required.set(true)
// }
}
dependencies {
detektPlugins('io.gitlab.arturbosch.detekt:detekt-formatting:1.20.0-RC2')
}