From 0870daddf6c8a94aee7ff6adf0f69b317f2fb8ae Mon Sep 17 00:00:00 2001 From: Rafael Chagas Date: Sun, 16 Oct 2022 17:12:29 +0200 Subject: [PATCH] Update libraries Signed-off-by: Rafael Chagas --- build.gradle | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 2 +- library/build.gradle | 26 ++++++++++++++---------- sample/build.gradle | 12 +++++------ 4 files changed, 25 insertions(+), 21 deletions(-) diff --git a/build.gradle b/build.gradle index 0ec2294..ebf8957 100644 --- a/build.gradle +++ b/build.gradle @@ -1,15 +1,15 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.6.10' + ext.kotlin_version = '1.7.10' repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.0.4' - classpath 'com.google.gms:google-services:4.3.10' + classpath 'com.android.tools.build:gradle:7.2.2' + classpath 'com.google.gms:google-services:4.3.14' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index dd7669b..6b0b55f 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-7.0.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip diff --git a/library/build.gradle b/library/build.gradle index 65b4eea..84103dc 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -6,7 +6,7 @@ apply plugin: 'maven-publish' android { - compileSdkVersion 31 + compileSdkVersion 32 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -20,7 +20,7 @@ android { defaultConfig { minSdkVersion 19 - targetSdkVersion 31 + targetSdkVersion 32 vectorDrawables.useSupportLibrary = true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -39,27 +39,31 @@ dependencies { // Kotlin implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4" + implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4" // KTX - implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.core:core-ktx:1.8.0' // Anko Commons implementation "org.jetbrains.anko:anko-commons:0.10.8" // Support library - implementation 'androidx.appcompat:appcompat:1.4.0' - implementation 'androidx.constraintlayout:constraintlayout:2.1.2' - implementation 'com.google.android.material:material:1.5.0-rc01' + implementation 'androidx.appcompat:appcompat:1.5.1' + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' + implementation 'com.google.android.material:material:1.6.1' // Android architecture components - implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' - implementation 'androidx.lifecycle:lifecycle-common-java8:2.4.0' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' + implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1' + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1' + implementation 'androidx.lifecycle:lifecycle-common-java8:2.5.1' // Google Play Services - implementation 'com.google.android.gms:play-services-location:19.0.1' - implementation 'com.google.android.gms:play-services-maps:18.0.2' + implementation 'com.google.android.gms:play-services-location:20.0.0' + implementation 'com.google.android.gms:play-services-maps:18.1.0' implementation 'com.google.maps.android:android-maps-utils:2.2.5' - implementation 'com.google.android.libraries.places:places:2.5.0' + implementation 'com.google.android.libraries.places:places:2.6.0' // Koin for Android implementation 'io.insert-koin:koin-android:3.1.5' diff --git a/sample/build.gradle b/sample/build.gradle index 9edfe5e..66bbbfb 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'kotlin-android-extensions' android { - compileSdkVersion 31 + compileSdkVersion 32 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -14,7 +14,7 @@ android { defaultConfig { applicationId "com.rtchagas.pingsample" minSdkVersion 21 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName "1.0" @@ -41,12 +41,12 @@ dependencies { implementation "org.jetbrains.anko:anko-commons:0.10.8" // Support library - implementation 'androidx.appcompat:appcompat:1.4.0' - implementation 'androidx.constraintlayout:constraintlayout:2.1.2' - implementation 'com.google.android.material:material:1.5.0-rc01' + implementation 'androidx.appcompat:appcompat:1.5.1' + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' + implementation 'com.google.android.material:material:1.6.1' // Places library - implementation 'com.google.android.libraries.places:places:2.5.0' + implementation 'com.google.android.libraries.places:places:2.6.0' // Other implementation 'com.github.mcginty:material-colors:1.1.0'