From e8979db7fe02eb75f0001aa51a8a9624ddb73d9d Mon Sep 17 00:00:00 2001 From: "Don E. Llopis" Date: Wed, 23 Mar 2022 07:48:10 -0400 Subject: [PATCH] update to gradle 7.1.2 update targetSdkVersion to 31 update versionName to 1.1.4 updat to latest version of Hilt --- app/build.gradle | 6 +++--- app/src/main/AndroidManifest.xml | 3 ++- build.gradle | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 80897f2..b82c09d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,7 +8,7 @@ plugins { } android { - compileSdkVersion 30 + compileSdkVersion 31 buildToolsVersion "30.0.3" def localProperties = new Properties() @@ -20,9 +20,9 @@ android { defaultConfig { applicationId "com.machineinteractive.apodktm" minSdkVersion 22 - targetSdkVersion 30 + targetSdkVersion 31 versionCode 1 - versionName "1.1.3" + versionName "1.1.4" def apodApiKey = localProperties["nasa_apod_api_key"] ?: 'DEMO_KEY' println("APOD KEY: $apodApiKey") diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 316af99..e3233b2 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -12,7 +12,8 @@ android:supportsRtl="true" android:theme="@style/Theme.APODKTM" android:name=".APODKTMApp"> - + diff --git a/build.gradle b/build.gradle index d184915..02a5b98 100644 --- a/build.gradle +++ b/build.gradle @@ -2,8 +2,8 @@ buildscript { ext { kotlin_version = "1.5.31" - nav_version = "2.3.5" - hilt_version = "2.37" + nav_version = '2.4.1' + hilt_version = "2.38.1" } repositories { @@ -11,7 +11,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.0.4' + classpath 'com.android.tools.build:gradle:7.1.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version" classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e1d8959..708467e 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Sat Jun 26 15:47:37 EDT 2021 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME