Skip to content

Commit 04a09ef

Browse files
committed
update version kotlin
1 parent 5392284 commit 04a09ef

5 files changed

Lines changed: 25 additions & 23 deletions

File tree

app/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@file:Suppress("UnstableApiUsage")
22
plugins {
33
alias(libs.plugins.android.application)
4-
alias(libs.plugins.kotlin.android)
54
alias(libs.plugins.kotlin.compose)
5+
// alias(libs.plugins.kotlin.android)
66
alias(libs.plugins.hilt)
77
alias(libs.plugins.ksp)
88

@@ -15,11 +15,11 @@ plugins {
1515

1616
android {
1717
namespace = "com.ljyh.mei"
18-
compileSdk = 36
18+
compileSdk = 37
1919
defaultConfig {
2020
applicationId = "com.ljyh.mei"
2121
minSdk = 29
22-
targetSdk = 36
22+
targetSdk = 37
2323
versionCode = 1
2424
versionName = "1.53.1"
2525

@@ -136,6 +136,7 @@ dependencies {
136136
implementation(libs.logging.interceptor)
137137
// implementation(kotlin("reflect"))
138138
implementation("org.jetbrains.kotlin:kotlin-reflect:2.1.21")
139+
ksp("org.jetbrains.kotlin:kotlin-metadata-jvm:2.3.20")
139140

140141

141142
// 列表拖拽

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
plugins {
33
alias(libs.plugins.android.application) apply false
44
alias(libs.plugins.kotlin.compose) apply false
5-
alias(libs.plugins.kotlin.android) apply false
5+
// alias(libs.plugins.kotlin.android) apply false
66
alias(libs.plugins.hilt) apply false
77
alias(libs.plugins.ksp) apply false
88
}

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ kotlin.code.style=official
2222
# thereby reducing the size of the R class for that library
2323
android.nonTransitiveRClass=true
2424
ksp.UseKSP2=true
25-
android.builtInKotlin=false
25+
android.builtInKotlin=true
26+
android.newDsl=true

gradle/libs.versions.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
11
[versions]
2-
agp = "8.12.0"
3-
coil = "3.4.0"
2+
agp = "9.2.0"
3+
coil = "3.5.0"
44
composeColorfulSliders = "1.2.2"
55
composeShimmer = "1.4.0"
66
core = "0.90.3"
77
datastorePreferences = "1.2.1"
8-
foundation = "1.9.5"
8+
foundation = "1.11.3"
99
jaudiotagger = "3.0.1"
1010
korlibsCrypto = "6.0.1"
11-
kotlin = "2.3.0"
12-
coreKtx = "1.18.0"
11+
kotlin = "2.3.20"
12+
coreKtx = "1.19.0"
1313
junit = "4.13.2"
1414
junitVersion = "1.3.0"
15-
kotlinxCoroutinesGuava = "1.10.2"
15+
kotlinxCoroutinesGuava = "1.11.0"
1616
kotlinxSerialization = "1.11.0"
17-
ktorClientAndroid = "3.4.3"
18-
ktorClientCore = "3.4.3"
17+
ktorClientAndroid = "3.5.0"
18+
ktorClientCore = "3.5.0"
1919
lifecycleRuntimeKtx = "2.10.0"
2020
activityCompose = "1.13.0"
21-
composeBom = "2026.04.01"
22-
loggingInterceptor = "5.3.2"
21+
composeBom = "2026.06.00"
22+
loggingInterceptor = "5.4.0"
2323
lyricsCoreVersion = "0.4.5"
2424
lyricsUiVersion = "1.0.19"
2525
material3Android = "1.4.0"
2626
activityKtx = "1.13.0"
27-
materialKolor = "4.0.4"
28-
navigationRuntimeKtx = "2.9.6"
27+
materialKolor = "4.1.1"
28+
navigationRuntimeKtx = "2.9.8"
2929
navigationCompose = "2.9.8"
30-
pagingRuntime = "3.4.2"
30+
pagingRuntime = "3.5.0"
3131
palette = "1.0.0"
3232
retrofit = "3.0.0"
33-
hilt = "2.58"
33+
hilt = "2.59.2"
3434
ksp = "2.3.9"
3535
hiltNavigationCompose = "1.3.0"
3636
roomCompiler = "2.8.4"
37-
media3 = "1.10.0"
37+
media3 = "1.10.1"
3838
timber = "5.0.1"
3939
workRuntimeKtx = "2.11.2"
4040
kmpalette = "3.1.0"
4141
annotations = "26.0.2-1"
4242
coreAnimation = "1.0.0"
4343
reorderable = "3.1.0"
44-
zoomable="2.11.1"
44+
zoomable="2.12.0"
4545
cloudy = "0.5.0"
4646
material3WindowSizeClass = "1.4.0"
4747

@@ -113,7 +113,7 @@ compose-cloudy = { module = "com.github.skydoves:cloudy", version.ref = "cloudy"
113113
androidx-compose-material3-window-size-class1 = { group = "androidx.compose.material3", name = "material3-window-size-class", version.ref = "material3WindowSizeClass" }
114114
[plugins]
115115
android-application = { id = "com.android.application", version.ref = "agp" }
116-
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
117116
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
117+
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
118118
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
119119
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Thu Dec 12 16:10:49 CST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-9.1.0-bin.zip
4+
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-9.5.1-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)