-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
61 lines (52 loc) · 1.45 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.vanniktech:gradle-android-junit-jacoco-plugin:0.13.0"
}
}
allprojects {
repositories {
jcenter()
google()
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
apply from: 'versioning.gradle'
apply plugin: "com.vanniktech.android.junit.jacoco"
junitJacoco {
jacocoVersion = '0.8.2'
ignoreProjects = []
excludes
includeNoLocationClasses = true
includeInstrumentationCoverageInMergedReport = true
}
apply plugin: 'idea'
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
project.ext {
android_material_version = '1.0.0'
androidx_appcompat_version = '1.1.0'
androidx_test_version = '1.2.0'
androidx_test_junit_version = '1.1.1'
fragment_test_rule_version = '2.0.1'
junit_version = '4.12'
junit_jupiter_version = '5.3.1'
mockito_version = '2.22.0' //2.23.+ causes IT to fail https://github.com/mockito/mockito/issues/922
powermock_version = '2.0.2'
espresso_version = '3.2.0'
uiautomator_version = '2.2.0'
}