Commit fda7645b authored by Vlad Vityaz's avatar Vlad Vityaz Committed by GitHub

Fixed compability with newest Android API 26+

Its needed to use higher target and compile sdks with tools version 26+ to be compatible with its Android Studio env. which uses newer gradle wrapper versions and Gradle tools as well.
parent 2d85e8f7
...@@ -11,12 +11,12 @@ buildscript { ...@@ -11,12 +11,12 @@ buildscript {
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : 25 compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : 26
buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : '25.0.3' buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : '26.0.3'
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16
targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : 22 targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : 26
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment