-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
35 lines (29 loc) · 893 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
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:${Versions.gradle}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}"
classpath "com.squareup.sqldelight:gradle-plugin:${Versions.sqlDelight}"
classpath "com.google.gms:google-services:${Versions.googleServices}"
}
}
plugins {
id "io.gitlab.arturbosch.detekt" version "1.1.1"
id "com.github.ben-manes.versions" version "0.36.0"
}
allprojects {
apply from: "$rootDir/ktlint.gradle"
apply from: "$rootDir/detekt.gradle"
repositories {
maven { url 'https://jitpack.io' }
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
task x(type: GradleBuild) { tasks = ["detekt", "ktlint", "lintDebug", "testDebugUnitTest"] }