forked from bernaferrari/ChangeDetection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
42 lines (35 loc) · 932 Bytes
/
build.gradle.kts
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
import io.gitlab.arturbosch.detekt.detekt
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:4.1.0-alpha02")
classpath(kotlin("gradle-plugin", version = "1.3.70"))
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.2.1")
classpath("com.github.ben-manes:gradle-versions-plugin:0.28.0")
}
}
allprojects {
repositories {
google()
jcenter()
maven("https://jitpack.io")
maven("https://kotlin.bintray.com/kotlinx/")
}
}
plugins {
id("io.gitlab.arturbosch.detekt") version "1.6.0"
}
tasks.register<Delete>("clean").configure {
delete(rootProject.buildDir)
}
detekt {
version = "1.6.0"
input = files("app/")
config = files("default-detekt-config.yml")
}
subprojects {
tasks.withType<Javadoc>().configureEach { isEnabled = false }
}