Skip to content

Commit f2b61e2

Browse files
author
anonymous
committed
[feat] Upgrade dependencies.
1 parent 57c299e commit f2b61e2

File tree

4 files changed

+26
-22
lines changed

4 files changed

+26
-22
lines changed

app/build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ plugins {
22
alias(libs.plugins.androidApplication)
33
alias(libs.plugins.jetbrainsKotlinAndroid)
44
id("com.google.devtools.ksp")
5-
id("kotlin-kapt")
65
}
76

87
android {
@@ -60,14 +59,15 @@ android {
6059
}
6160
}
6261
compileOptions {
63-
sourceCompatibility = JavaVersion.VERSION_1_8
64-
targetCompatibility = JavaVersion.VERSION_1_8
62+
sourceCompatibility = JavaVersion.VERSION_11
63+
targetCompatibility = JavaVersion.VERSION_11
6564
viewBinding {
6665
enable = true
6766
}
6867
}
69-
kotlinOptions {
70-
jvmTarget = "1.8"
68+
69+
kotlin {
70+
jvmToolchain(11)
7171
}
7272

7373
buildFeatures {
@@ -99,7 +99,7 @@ dependencies {
9999
// lifecycle
100100
implementation(libs.androidx.lifecycle.rumtime)
101101
implementation(libs.androidx.lifecycle.viewmodel)
102-
kapt(libs.androidx.lifecycle.compiler)
102+
ksp(libs.androidx.lifecycle.compiler)
103103

104104
// camerax
105105
implementation(libs.camerax.core)

gradle/libs.versions.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
[versions]
2-
agp = "8.9.2"
3-
kotlin = "2.0.21"
4-
googleKsp = "2.0.21-1.0.26"
2+
agp = "8.11.1"
3+
kotlin = "2.2.0"
4+
googleKsp = "2.2.0-2.0.2"
55
coreKtx = "1.16.0"
66
junit = "4.13.2"
77
androidJunit = "1.2.1"
88
espressoCore = "3.6.1"
9-
appcompat = "1.7.0"
9+
appcompat = "1.7.1"
1010
material = "1.12.0"
1111
activity = "1.10.1"
1212
annotaion = "1.9.1"
1313
constraintlayout = "2.2.1"
1414
swiperefreshlayout = "1.1.0"
1515
recyclerview = "1.4.0"
16-
lifecycle = "2.8.7"
16+
lifecycle = "2.9.1"
1717
flexbox = "3.0.0"
18-
rxjava3 = "3.1.8"
18+
rxjava3 = "3.1.11"
1919
rxkotlin3 = "3.0.1"
2020
rxandroid3 = "3.0.2"
21-
corouines = "1.10.1"
22-
moshi = "1.15.1"
21+
corouines = "1.10.2"
22+
moshi = "1.15.2"
2323
netty = "4.1.86.Final"
24-
okio = "3.9.1"
24+
okio = "3.15.0"
2525
rxbinding = "4.0.0"
2626
camerax = "1.4.2"
2727
barcodescan = "17.3.0"
2828
qrcodegen = "3.0.1"
29-
threetenabp = "1.4.6"
29+
threetenabp = "1.4.9"
3030
glide = "4.16.0"
3131
tuiutils = "1.1.1"
32-
tapm = "1.0.1"
32+
tapm = "1.0.3"
3333
tlog = "1.0.1"
3434

3535
[libraries]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Tue Nov 05 10:06:45 CST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

net/build.gradle.kts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ plugins {
33
alias(libs.plugins.jetbrainsKotlinJvm)
44
}
55

6-
//java {
7-
// sourceCompatibility = JavaVersion.VERSION_1_8
8-
// targetCompatibility = JavaVersion.VERSION_1_8
9-
//}
6+
java {
7+
sourceCompatibility = JavaVersion.VERSION_11
8+
targetCompatibility = JavaVersion.VERSION_11
9+
}
10+
11+
kotlin {
12+
jvmToolchain(11)
13+
}
1014

1115
dependencies {
1216
api(libs.coroutines.core)

0 commit comments

Comments
 (0)