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