11plugins {
22 id(" com.android.application" )
3- id(" org.jetbrains.kotlin.android" )
43 id(" com.google.devtools.ksp" )
54}
65
76android {
87 namespace = " com.takwolf.android.demo.refreshandloadmore"
98 compileSdk {
10- version = release(36 )
9+ version = release(37 ) {
10+ minorApiLevel = 0
11+ }
1112 }
1213
1314 defaultConfig {
1415 applicationId = " com.takwolf.android.demo.refreshandloadmore"
1516 minSdk = 23
16- targetSdk = 36
17+ targetSdk = 37
1718 versionCode = 1
1819 versionName = " 0.0.1"
1920 }
@@ -30,15 +31,11 @@ android {
3031 }
3132
3233 compileOptions {
33- sourceCompatibility = JavaVersion .VERSION_1_8
34- targetCompatibility = JavaVersion .VERSION_1_8
34+ sourceCompatibility = JavaVersion .VERSION_11
35+ targetCompatibility = JavaVersion .VERSION_11
3536 isCoreLibraryDesugaringEnabled = true
3637 }
3738
38- kotlinOptions {
39- jvmTarget = " 1.8"
40- }
41-
4239 packaging {
4340 resources {
4441 excludes + = " DebugProbesKt.bin"
@@ -49,18 +46,18 @@ android {
4946dependencies {
5047 coreLibraryDesugaring(" com.android.tools:desugar_jdk_libs:2.1.5" )
5148 implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2" )
52- implementation(" androidx.core:core-ktx:1.17 .0" )
49+ implementation(" androidx.core:core-ktx:1.18 .0" )
5350 implementation(" androidx.appcompat:appcompat:1.7.1" )
54- implementation(" androidx.activity:activity-ktx:1.12 .0" )
51+ implementation(" androidx.activity:activity-ktx:1.13 .0" )
5552 implementation(" androidx.lifecycle:lifecycle-viewmodel-ktx:2.10.0" )
5653 implementation(" androidx.lifecycle:lifecycle-livedata-ktx:2.10.0" )
5754 implementation(" androidx.recyclerview:recyclerview:1.4.0" )
58- implementation(" androidx.swiperefreshlayout:swiperefreshlayout:1.1 .0" )
55+ implementation(" androidx.swiperefreshlayout:swiperefreshlayout:1.2 .0" )
5956 implementation(" androidx.constraintlayout:constraintlayout:2.2.1" )
6057 implementation(" androidx.cardview:cardview:1.0.0" )
61- implementation(" io.github.takwolf.android.insetswidget:insetswidget:0.0.1 " )
62- implementation(" io.github.takwolf.android.hfrecyclerview:hfrecyclerview:0.0.2 " )
63- implementation(" io.github.takwolf.android.hfrecyclerview:paging:0.0.2 " )
58+ implementation(" io.github.takwolf.android.insetswidget:insetswidget:0.0.2 " )
59+ implementation(" io.github.takwolf.android.hfrecyclerview:hfrecyclerview:0.0.3 " )
60+ implementation(" io.github.takwolf.android.hfrecyclerview:paging:0.0.3 " )
6461 implementation(" de.hdodenhof:circleimageview:3.1.0" )
6562 implementation(" com.squareup.moshi:moshi:1.15.2" )
6663 ksp(" com.squareup.moshi:moshi-kotlin-codegen:1.15.2" )
@@ -69,6 +66,6 @@ dependencies {
6966 implementation(" com.squareup.okhttp3:logging-interceptor" )
7067 implementation(" com.squareup.retrofit2:retrofit:3.0.0" )
7168 implementation(" com.squareup.retrofit2:converter-moshi:3.0.0" )
72- implementation(" io.coil-kt.coil3:coil:3.3 .0" )
73- implementation(" io.coil-kt.coil3:coil-network-okhttp:3.3 .0" )
69+ implementation(" io.coil-kt.coil3:coil:3.4 .0" )
70+ implementation(" io.coil-kt.coil3:coil-network-okhttp:3.4 .0" )
7471}
0 commit comments