Skip to content

Commit ed170ac

Browse files
Update Hilt, Gradle, and Java versions
This commit includes the following updates: - **Hilt:** Upgraded Hilt version from 2.51.1 to 2.57.1 in both `gradle/libs.versions.toml` and `build.gradle`. - **Gradle:** - Changed `compileSdk` to `compileSdkVersion` in `app/build.gradle`. - **Java:** Updated `sourceCompatibility` and `targetCompatibility` from Java 17 to Java 21 in `app/build.gradle`.
1 parent 608a72a commit ed170ac

File tree

4 files changed

+38
-13
lines changed

4 files changed

+38
-13
lines changed

.idea/workspace.xml

Lines changed: 32 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
android {
10-
compileSdk 36
10+
compileSdkVersion 36
1111
namespace 'com.d4rk.androidtutorials.java'
1212
defaultConfig {
1313
applicationId 'com.d4rk.androidtutorials.java'
@@ -36,8 +36,8 @@ android {
3636
}
3737

3838
compileOptions {
39-
sourceCompatibility JavaVersion.VERSION_17
40-
targetCompatibility JavaVersion.VERSION_17
39+
sourceCompatibility JavaVersion.VERSION_21
40+
targetCompatibility JavaVersion.VERSION_21
4141
}
4242

4343
buildFeatures {

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ plugins {
44
id 'com.google.firebase.crashlytics' version '3.0.6' apply false
55
//noinspection NewerVersionAvailable
66
id 'com.mikepenz.aboutlibraries.plugin' version '11.3.0' apply true
7-
id 'com.google.dagger.hilt.android' version '2.51.1' apply false
7+
id 'com.google.dagger.hilt.android' version '2.57.1' apply false
88
}

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ preference = "1.2.1"
2020
review = "2.0.2"
2121
volley = "1.2.1"
2222
coreKtx = "1.17.0"
23-
material = "1.12.0"
23+
material = "1.14.0-alpha04"
2424
multidex = "2.0.1"
2525
playServicesAds = "24.5.0"
2626
codeview = "1.3.9"
27-
hilt = "2.51.1"
27+
hilt = "2.57.1"
2828

2929
[libraries]
3030
aboutlibraries = { module = "com.mikepenz:aboutlibraries", version.ref = "aboutlibraries" }

0 commit comments

Comments
 (0)