-
Notifications
You must be signed in to change notification settings - Fork 147
/
build.gradle
58 lines (53 loc) · 1.36 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
buildscript {
repositories {
maven {
url 'https://maven.google.com'
name 'Google'
}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.41'
}
}
allprojects {
repositories {
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
def getLibVersion() {
def stdout = new ByteArrayOutputStream()
exec {
workingDir '.'
commandLine 'scripts/changelog.sh', '-v'
standardOutput = stdout
}
return stdout.toString().trim()
}
ext {
kotlinVersion = '1.3.41'
compileSdkVersion = 28
minSdkVersion = 15
targetSdkVersion = 28
versionCode = 1
versionName = getLibVersion()
androidXCoreVersion = '1.0.2'
androidXAppcompatVersion = '1.0.2'
circleimageviewVersion = '3.0.0'
junitVersion = '4.12'
robolectricVersion = '4.1'
androidXTestCoreVersion = '1.1.0'
mockitoCoreVersion = '2.24.0'
gsonVersion = '2.8.5'
androidXEspressoCoreVersion = '3.1.1'
androidXEspressoIdlingResourceVersion = '3.1.1'
androidXTestRulesVersion = '1.1.1'
androidXTestRunnerVersion = '1.1.1'
androidXTestExtJunitVersion = '1.1.0'
}