Skip to content

Commit e6187f6

Browse files
committed
build: 更新 Android SDK 和开发工具版本
- 将 compileSdk从 34 升级到 35 - 将 minSdk 从 21 升级到 23 -将 targetSdk 从 34 升级到 35- 更新 AndroidX 依赖版本- 更新 Kotlin 和 KSP 版本 - 更新 Gradle 版本
1 parent 99df566 commit e6187f6

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

app/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ plugins {
66
}
77

88
android {
9-
compileSdk 34
9+
compileSdk 35
1010

1111
defaultConfig {
1212
applicationId "com.chad.baserecyclerviewadapterhelper"
13-
minSdk 21
14-
targetSdk 34
13+
minSdk 23
14+
targetSdk 35
1515
versionCode 10
1616
versionName "4.0"
1717
}
@@ -49,10 +49,10 @@ dependencies {
4949
implementation 'com.google.android.material:material:1.12.0'
5050
implementation 'androidx.cardview:cardview:1.0.0'
5151
implementation 'androidx.appcompat:appcompat:1.7.0'
52-
implementation "androidx.core:core-ktx:1.13.1"
52+
implementation "androidx.core:core-ktx:1.16.0"
5353

5454
implementation 'com.kyleduo.switchbutton:library:2.1.0'
55-
implementation 'androidx.recyclerview:recyclerview:1.3.2'
55+
implementation 'androidx.recyclerview:recyclerview:1.4.0'
5656
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
5757

5858
implementation("com.squareup.moshi:moshi:1.15.1")

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
plugins {
3-
id 'com.android.application' version '8.2.0' apply false
4-
id 'com.android.library' version '8.2.0' apply false
5-
id 'org.jetbrains.kotlin.android' version '2.0.0' apply false
6-
id 'com.google.devtools.ksp' version '2.0.0-1.0.21' apply false
3+
id 'com.android.application' version '8.9.2' apply false
4+
id 'com.android.library' version '8.9.2' apply false
5+
id 'org.jetbrains.kotlin.android' version '2.1.20' apply false
6+
id 'com.google.devtools.ksp' version '2.1.20-2.0.0' apply false
77
}
88

99
tasks.register('clean', Delete) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Mon May 29 14:19:55 CST 2023
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)