-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (41 loc) · 1.26 KB
/
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
39
40
41
42
43
44
buildscript {
apply from: "$rootDir/version-manager.gradle"
repositories {
google()
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.android.tools.build:gradle:$pluginVersions.gradle"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$libraryVersions.kotlin"
classpath "com.github.dcendents:android-maven-gradle-plugin:$pluginVersions.androidmaven"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$pluginVersions.dokka"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$pluginVersions.detekt"
}
}
allprojects {
apply from: "$rootDir/version-manager.gradle"
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
subprojects {
apply plugin: "io.gitlab.arturbosch.detekt"
detekt {
toolVersion = pluginVersions.detekt
input = files("${rootDir}")
config = files("${rootDir}/detekt.yml")
filters = ".*/resources/.*,.*/build/.*"
reports {
xml.enabled = false
html {
enabled = true
destination = file("${rootDir}/build/reports/detekt.html")
}
}
}
}