From 6476316da14a85f1730c8be526ed30eaeaf6c603 Mon Sep 17 00:00:00 2001 From: Jahir Fiquitiva Date: Tue, 10 Sep 2019 22:25:43 -0500 Subject: [PATCH] Update for Android 10 --- .travis.yml | 4 ++-- app/build.gradle | 10 +++++----- build.gradle | 4 ++-- gradle/wrapper/gradle-wrapper.properties | 2 +- library/build.gradle | 14 +++++++------- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 55056bf..7c3d5c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,8 @@ jdk: oraclejdk8 env: global: - - ANDROID_API=28 - - ANDROID_BUILD_TOOLS=28.0.3 + - ANDROID_API=29 + - ANDROID_BUILD_TOOLS=29.0.2 - EMULATOR_API=21 android: diff --git a/app/build.gradle b/app/build.gradle index 7d1e5db..cf44641 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,13 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 28 - buildToolsVersion "28.0.3" + compileSdkVersion 29 + buildToolsVersion "29.0.2" defaultConfig { applicationId "com.github.javiersantos.piracychecker.demo" minSdkVersion 14 - targetSdkVersion 28 + targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -39,7 +39,7 @@ dependencies { implementation project(':library') implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation 'androidx.appcompat:appcompat:1.0.0' + implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'com.google.android.material:material:1.0.0' implementation 'androidx.cardview:cardview:1.0.0' @@ -52,4 +52,4 @@ dependencies { androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', { exclude group: 'com.android.support', module: 'support-annotations' }) -} \ No newline at end of file +} diff --git a/build.gradle b/build.gradle index 2e686f2..6397d07 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,14 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.3.0' + ext.kotlin_version = '1.3.50' repositories { jcenter() google() maven { url 'https://jitpack.io' } } dependencies { - classpath 'com.android.tools.build:gradle:3.2.1' + classpath 'com.android.tools.build:gradle:3.5.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f9d8c27..a8324bf 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-4.10.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-bin.zip diff --git a/library/build.gradle b/library/build.gradle index 023a61a..24868aa 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -4,14 +4,14 @@ apply plugin: 'com.github.dcendents.android-maven' group = 'com.github.javiersantos' android { - compileSdkVersion 28 - buildToolsVersion "28.0.3" + compileSdkVersion 29 + buildToolsVersion "29.0.2" defaultConfig { minSdkVersion 14 - targetSdkVersion 28 - versionCode 125 - versionName "1.2.5" + targetSdkVersion 29 + versionCode 126 + versionName "1.2.6" consumerProguardFiles 'proguard-rules.pro' } buildTypes { @@ -25,11 +25,11 @@ android { dependencies { api fileTree(dir: 'libs', include: ['*.jar']) - implementation 'androidx.appcompat:appcompat:1.0.0' + implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'com.google.android.material:material:1.0.0' implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" } repositories { mavenCentral() -} \ No newline at end of file +}