diff --git a/.travis.yml b/.travis.yml index 180d4cb..6367bdb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,8 @@ android: components: - tools - platform-tools - - build-tools-23.0.2 - - android-23 + - build-tools-28.0.3 + - android-28 - extra-google-google_play_services - extra-android-m2repository - extra-android-support diff --git a/build.gradle b/build.gradle index 7d15631..8e9eb58 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,16 @@ buildscript { repositories { mavenCentral() + google() } dependencies { - classpath 'com.android.tools.build:gradle:1.3.0' + classpath 'com.android.tools.build:gradle:3.2.1' } } allprojects { repositories { mavenCentral() + google() } } \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f40b555..d06e471 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip diff --git a/library/build.gradle b/library/build.gradle index 1918b4d..326e397 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,11 +1,11 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 23 - buildToolsVersion '23.0.2' + compileSdkVersion 28 + buildToolsVersion '28.0.3' defaultConfig { - minSdkVersion 9 - targetSdkVersion 23 + minSdkVersion 14 + targetSdkVersion 28 } } diff --git a/sample/build.gradle b/sample/build.gradle index 740fb6f..43f5d63 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 23 - buildToolsVersion '23.0.2' + compileSdkVersion 28 + buildToolsVersion '28.0.3' defaultConfig { - minSdkVersion 9 - targetSdkVersion 23 + minSdkVersion 14 + targetSdkVersion 28 versionCode 1 versionName "1.0" } @@ -23,5 +23,5 @@ repositories { } dependencies { - compile project(':library') + implementation project(':library') } \ No newline at end of file