-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
44 lines (38 loc) · 1.56 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.2.51'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://s3.amazonaws.com/repo.commonsware.com" }
maven { url 'https://jitpack.io' }
}
project.ext {
support_libs = (System.getenv("support_libs") as String ?: "27.1.1")
version_code = (System.getenv("aware_revision") as Integer ?: 1)
version_readable = (System.getenv("aware_label") as String ?: "0.0.1")
compile_sdk = (System.getenv("compile_sdk") as Integer ?: 27)
target_sdk = (System.getenv("target_sdk") as Integer ?: 27)
minimum_sdk = (System.getenv("minimum_sdk") as Integer ?: 19) //Android 4.4+
build_tools = (System.getenv("build_tools") ?: "27.0.3")
gson = System.getenv("gson") ?: "2.8.2"
support_test_runner = System.getenv("support_test_runner") ?: "1.0.2"
test_espresso_espresso_core = System.getenv("test_espresso_espresso_core") ?: "3.0.2"
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}