forked from KasperskyLab/Kaspresso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (37 loc) · 1.1 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 : 'dependencies.gradle'
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:${versions.androidPlugin}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:$versions.dokka"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$versions.bintrayPlugin"
}
}
plugins {
id "io.gitlab.arturbosch.detekt" version '1.0.0-RC14'
}
apply from: 'static_analysis/config/qualityDetekt.gradle'
allprojects {
repositories {
google()
jcenter()
}
configurations.all {
resolutionStrategy {
eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'com.androidx'
&& !details.requested.name.startsWith('multidex')
) {
details.useVersion versions.androidSupport
}
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}