-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.gradle
58 lines (49 loc) · 1.53 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.4.0'
ext.android_plugin_version = '7.0.3'
ext.jacoco_version = '0.8.3'
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$android_plugin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jacoco:org.jacoco.core:$jacoco_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
ext {
def props = new Properties()
file("version.properties").withInputStream { props.load(it) }
compileSdkVersion = 30
minSdkVersion = 21
targetSdkVersion = 30
materialVersion = '1.4.0'
appCompatVersion = '1.3.1'
constraintLayoutVersion = '2.1.2'
viewPagerVersion = '1.0.0'
fragmentVersion = '1.0.0'
espressoVersion = '3.3.0'
jUnitVersion = '4.13.1'
robolectricVersion = '4.3'
assertJVersion = '2.4.0'
assertJAndroidVersion = '1.1.1'
testRunnerVersion = '1.2.0'
mockitoVersion = '2.19.0'
assertJCoreVersion = '1.7.1'
global_version_code = props.getProperty("VERSION_CODE").toInteger()
global_version_name = props.get("VERSION_NAME")
}
task clean(type: Delete) {
delete rootProject.buildDir
}
apply plugin: 'android-reporting'