-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
49 lines (43 loc) · 1.47 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
49 lines (43 loc) · 1.47 KB
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
45
46
47
48
49
import io.gitlab.arturbosch.detekt.detekt
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
maven {
setUrl("https://maven.fabric.io/public")
}
maven {
setUrl("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath(com.actonica.devmenu.buildsrc.Config.Dependency.ANDROID_GRADLE_PLUGIN)
classpath(com.actonica.devmenu.buildsrc.Config.Dependency.KOTLIN_GRADLE_PLUGIN)
classpath(com.actonica.devmenu.buildsrc.Config.Dependency.BINTRAY_GRADLE_PLUGIN)
classpath(com.actonica.devmenu.buildsrc.Config.Dependency.FABRIC_GRADLE_PLUGIN)
classpath(com.actonica.devmenu.buildsrc.Config.Dependency.KTLINT_GRADLE_PLUGIN)
classpath(com.actonica.devmenu.buildsrc.Config.Dependency.DETEKT_GRADLE_PLUGIN)
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle.kts files
}
}
allprojects {
repositories {
maven {
setUrl("https://dl.bintray.com/actonica/android")
}
google()
jcenter()
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
apply(plugin = "io.gitlab.arturbosch.detekt")
detekt {
config = files("../default-detekt-config.yml")
}
}