Skip to content

Commit 4c82489

Browse files
author
RobertoJuarez
committed
⬆️ upgraded below
- upgrade kotlin - upgrade AGP - added ksp - upgrade google-services - upgrade java 1.8 to java 17 - upgrade glide
1 parent a3480ba commit 4c82489

File tree

7 files changed

+23
-61
lines changed

7 files changed

+23
-61
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@
1313
.externalNativeBuild
1414
.cxx
1515
local.properties
16+
.idea/kotlinc.xml
17+
.idea/compiler.xml
18+
.idea/gradle.xml
19+
.idea/misc.xml

.idea/gradle.xml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 27 deletions
This file was deleted.

app/build.gradle

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ plugins {
66
id 'androidx.navigation.safeargs.kotlin'
77
id 'com.google.gms.google-services'
88
id 'com.google.firebase.crashlytics'
9+
id 'com.google.devtools.ksp'
910
}
1011

1112
android {
13+
namespace "com.juarez.upaxdemo"
1214
compileSdk 33
1315

1416
defaultConfig {
@@ -32,11 +34,14 @@ android {
3234
}
3335
}
3436
compileOptions {
35-
sourceCompatibility JavaVersion.VERSION_1_8
36-
targetCompatibility JavaVersion.VERSION_1_8
37+
sourceCompatibility JavaVersion.VERSION_17
38+
targetCompatibility JavaVersion.VERSION_17
3739
}
3840
kotlinOptions {
39-
jvmTarget = '1.8'
41+
jvmTarget = '17'
42+
}
43+
kotlin {
44+
jvmToolchain(17)
4045
}
4146
}
4247

@@ -70,17 +75,17 @@ dependencies {
7075
implementation "com.squareup.retrofit2:converter-gson:2.9.0"
7176
implementation "com.squareup.okhttp3:logging-interceptor:4.9.3"
7277
//glide
73-
def glide_version = "4.13.0"
78+
def glide_version = "4.16.0"
7479
implementation "com.github.bumptech.glide:glide:$glide_version"
75-
kapt "com.github.bumptech.glide:compiler:$glide_version"
80+
ksp "com.github.bumptech.glide:ksp:$glide_version"
7681
//hilt
7782
implementation "com.google.dagger:hilt-android:$hilt_version"
7883
kapt "com.google.dagger:hilt-android-compiler:$hilt_version"
7984
//room db
80-
def room_version = "2.4.2"
85+
def room_version = "2.5.2"
8186
implementation "androidx.room:room-runtime:$room_version"
8287
implementation("androidx.room:room-ktx:$room_version")
83-
kapt "androidx.room:room-compiler:$room_version"
88+
ksp "androidx.room:room-compiler:$room_version"
8489
//firebase
8590
implementation platform('com.google.firebase:firebase-bom:29.0.4')
8691
implementation 'com.google.firebase:firebase-crashlytics-ktx'

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.juarez.upaxdemo">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<uses-permission android:name="android.permission.INTERNET" />
65
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
33
ext.nav_version = "2.5.1"
4-
ext.hilt_version = "2.42"
4+
ext.hilt_version = "2.47"
55
repositories {
66
google()
77
mavenCentral()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:7.2.2'
11-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10"
10+
classpath 'com.android.tools.build:gradle:8.1.1'
11+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0"
1212
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
1313
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
14-
classpath 'com.google.gms:google-services:4.3.10'
14+
classpath 'com.google.gms:google-services:4.4.0'
1515
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.4'
16+
classpath("com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.9.0-1.0.13")
1617

1718
// NOTE: Do not place your application dependencies here; they belong
1819
// in the individual module build.gradle files
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Mon Feb 28 16:30:51 CST 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)