Updated gradle configuration

This commit is contained in:
Dimitry Ivanov 2017-10-21 13:44:35 +03:00
parent 80efa6dd4c
commit 8aea662f50

View File

@ -1,15 +1,17 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
classpath 'com.android.tools.build:gradle:2.3.3'
}
}
allprojects {
repositories {
jcenter()
google()
}
version = VERSION_NAME
group = GROUP
@ -19,15 +21,19 @@ task clean(type: Delete) {
delete rootProject.buildDir
}
task wrapper(type: Wrapper) {
gradleVersion '4.1'
}
ext {
// Config
BUILD_TOOLS = '25.0.2'
TARGET_SDK = 25
BUILD_TOOLS = '26.0.2'
TARGET_SDK = 26
MIN_SDK = 16
// Dependencies
final def supportVersion = '25.3.1'
final def supportVersion = '26.1.0'
SUPPORT_ANNOTATIONS = "com.android.support:support-annotations:$supportVersion"
SUPPORT_APP_COMPAT = "com.android.support:appcompat-v7:$supportVersion"