-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathbuild.gradle
34 lines (30 loc) · 853 Bytes
/
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
}
configurations.all {
it.resolutionStrategy.cacheDynamicVersionsFor(5, 'minutes')
it.resolutionStrategy.cacheChangingModulesFor(0, 'seconds')
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
global_compileSdkVersion = COMPILE_SDK_VERSION.toInteger()
global_buildToolsVersion = BUILD_TOOLS_VERSION
global_minSdkVersion = MIN_SDK_VERSION.toInteger()
global_targetSdkVersion = TARGET_SDK_VERSION.toInteger()
global_javaVersion = JavaVersion.VERSION_1_7
}