Skip to content

Commit

Permalink
update to gradle 7.1.2
Browse files Browse the repository at this point in the history
update targetSdkVersion to 31
update versionName to 1.1.4
updat to latest version of Hilt
  • Loading branch information
llopisdon committed Mar 23, 2022
1 parent 5ef3dba commit e8979db
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

android {
compileSdkVersion 30
compileSdkVersion 31
buildToolsVersion "30.0.3"

def localProperties = new Properties()
Expand All @@ -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")
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
android:supportsRtl="true"
android:theme="@style/Theme.APODKTM"
android:name=".APODKTMApp">
<activity android:name=".MainActivity">
<activity android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
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 {
google()
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"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e8979db

Please sign in to comment.