File tree Expand file tree Collapse file tree 7 files changed +18
-14
lines changed Expand file tree Collapse file tree 7 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 11buildscript {
2- val kotlinVersion by extra(" 1.9.0 " )
2+ val kotlinVersion by extra(" 1.9.21 " )
33 repositories {
44 google()
55 jcenter()
66 mavenCentral()
77 maven(url = " https://jitpack.io" )
88 }
99 dependencies {
10- val navigationVersion = " 2.7.5 "
10+ val navigationVersion = " 2.7.6 "
1111 classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion " )
1212 classpath(" androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion " )
1313 }
1414}
1515// Top-level build file where you can add configuration options common to all sub-projects/modules.
1616plugins {
17- id(" com.android.application" ) version " 8.1.3 " apply false
18- id(" com.android.library" ) version " 8.1.3 " apply false
19- id(" org.jetbrains.kotlin.android" ) version " 1.9.0 " apply false
20- id(" org.jetbrains.kotlin.jvm" ) version " 1.9.0 " apply false
17+ id(" com.android.application" ) version " 8.2.0 " apply false
18+ id(" com.android.library" ) version " 8.2.0 " apply false
19+ id(" org.jetbrains.kotlin.android" ) version " 1.9.21 " apply false
20+ id(" org.jetbrains.kotlin.jvm" ) version " 1.9.21 " apply false
2121 id(" com.google.dagger.hilt.android" ) version " 2.46.1" apply false
2222}
2323
2424tasks.register(" clean" , Delete ::class ) {
2525 delete(rootProject.buildDir)
2626}
27+
Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ object ConfigData {
99 const val VERSION_NAME = " 1.0"
1010 const val APPLICATION_ID = " com.example.androidbase"
1111 const val TEST_INSTRUMENTATION_RUNNER = " androidx.test.runner.AndroidJUnitRunner"
12+ const val KOTLIN_VERSION = " 1.9.21"
1213}
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ object Dependencies {
1414 const val CARDVIEW = " androidx.cardview:cardview:1.0.0"
1515 const val DRAWER_LAYOUT = " androidx.drawerlayout:drawerlayout:1.2.0"
1616 const val DAGGER_HILT = " com.google.dagger:hilt-android:2.46.1"
17- const val DAGGER_HILT_COMPILER = " com.google.dagger:hilt-android-compiler:2.46.1"
17+ const val DAGGER_HILT_COMPILER = " androidx.hilt:hilt-compiler:1.1.0"
18+ const val DAGGER_HILT_ANDROID_COMPILER = " com.google.dagger:hilt-android-compiler:2.46.1"
1819 const val GLIDE = " com.github.bumptech.glide:glide:4.16.0"
1920 const val GLIDE_COMPILER = " com.github.bumptech.glide:compiler:4.16.0"
2021 const val KOTLIN_STDLIB_JDK7 = " org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.31"
@@ -36,6 +37,7 @@ object Dependencies {
3637 const val VIEW_MODEL = " androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2"
3738 const val LIVE_DATA = " androidx.lifecycle:lifecycle-livedata-ktx:2.6.2"
3839 const val TEST_JUNIT = " androidx.test.ext:junit:1.1.4"
40+ const val JUNIT_JUNIT = " junit:junit:4.13.2"
3941 const val TEST_EXPRESO = " androidx.test.espresso:espresso-core:3.5.0"
4042 const val SWIPE_REFRESH_LAYOUT = " androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
4143}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ dependencies {
4343 implementation(Dependencies .ANDROIDX_CORE_KTX )
4444 implementation(Dependencies .ANDROIDX_APPCOMPAT )
4545 implementation(Dependencies .ANDROID_MATERIAL )
46- testImplementation(" junit:junit:4.13.2 " )
46+ testImplementation(Dependencies . JUNIT_JUNIT )
4747 androidTestImplementation(Dependencies .TEST_JUNIT )
4848 androidTestImplementation(Dependencies .TEST_EXPRESO )
4949 // Retrofit Dependecies
@@ -57,7 +57,7 @@ dependencies {
5757 kapt(Dependencies .ROOM_COMPILER )
5858 // Dagger - Hilt
5959 implementation(Dependencies .DAGGER_HILT )
60+ kapt(Dependencies .DAGGER_HILT_ANDROID_COMPILER )
6061 kapt(Dependencies .DAGGER_HILT_COMPILER )
61- kapt(" androidx.hilt:hilt-compiler:1.0.0" )
6262
6363}
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ android {
3535}
3636
3737dependencies {
38-
38+
3939 implementation(Dependencies .ANDROIDX_APPCOMPAT )
4040 implementation(Dependencies .ANDROID_MATERIAL )
41- testImplementation(" junit:junit:4.13.2 " )
41+ testImplementation(Dependencies . JUNIT_JUNIT )
4242 androidTestImplementation(" androidx.test.ext:junit:1.1.5" )
4343 androidTestImplementation(" androidx.test.espresso:espresso-core:3.5.1" )
4444 implementation(Dependencies .ROOM )
Original file line number Diff line number Diff line change 11# Thu Dec 22 23:03:15 CST 2022
22distributionBase =GRADLE_USER_HOME
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.0 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.2 -bin.zip
44distributionPath =wrapper/dists
55zipStorePath =wrapper/dists
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -53,16 +53,16 @@ dependencies {
5353 implementation(Dependencies .ANDROIDX_APPCOMPAT )
5454 implementation(Dependencies .ANDROID_MATERIAL )
5555 implementation(Dependencies .ANDROIDX_CONSTRAINT_LAYOUT )
56- testImplementation(" junit:junit:4.13.2 " )
56+ testImplementation(Dependencies . JUNIT_JUNIT )
5757 androidTestImplementation(Dependencies .TEST_JUNIT )
5858 androidTestImplementation(Dependencies .TEST_EXPRESO )
5959 // Navigation component
6060 implementation(Dependencies .NAVIGATION_FRAGMENT )
6161 implementation(Dependencies .NAVIGATION_UI )
6262 // Dagger - Hilt
6363 implementation(Dependencies .DAGGER_HILT )
64+ kapt(Dependencies .DAGGER_HILT_ANDROID_COMPILER )
6465 kapt(Dependencies .DAGGER_HILT_COMPILER )
65- kapt(" androidx.hilt:hilt-compiler:1.0.0" )
6666 // Retrofit Dependecies
6767 implementation(Dependencies .RETROFIT )
6868 implementation(Dependencies .RETROFIT_CONVERTER_GSON )
You can’t perform that action at this time.
0 commit comments