-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
38 lines (31 loc) · 998 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
32
33
34
35
36
37
38
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.2.1' apply false
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
id "org.jlleitschuh.gradle.ktlint" version "10.3.0"
id 'io.gitlab.arturbosch.detekt' version '1.21.0'
id 'org.jetbrains.dokka' version '1.8.10'
}
subprojects {
apply plugin: "org.jlleitschuh.gradle.ktlint"
apply plugin: "io.gitlab.arturbosch.detekt"
apply plugin: 'org.jetbrains.dokka'
ktlint {
reporters {
reporter "plain"
reporter "html"
}
}
detekt {
config = files("${rootProject.projectDir}/config/detekt/detekt.yml")
reports {
html.enabled = true
xml.enabled = true
txt.enabled = true
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}