File tree Expand file tree Collapse file tree 4 files changed +26
-22
lines changed
Expand file tree Collapse file tree 4 files changed +26
-22
lines changed Original file line number Diff line number Diff 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
87android {
@@ -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)
Original file line number Diff line number Diff line change 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 "
55coreKtx = " 1.16.0"
66junit = " 4.13.2"
77androidJunit = " 1.2.1"
88espressoCore = " 3.6.1"
9- appcompat = " 1.7.0 "
9+ appcompat = " 1.7.1 "
1010material = " 1.12.0"
1111activity = " 1.10.1"
1212annotaion = " 1.9.1"
1313constraintlayout = " 2.2.1"
1414swiperefreshlayout = " 1.1.0"
1515recyclerview = " 1.4.0"
16- lifecycle = " 2.8.7 "
16+ lifecycle = " 2.9.1 "
1717flexbox = " 3.0.0"
18- rxjava3 = " 3.1.8 "
18+ rxjava3 = " 3.1.11 "
1919rxkotlin3 = " 3.0.1"
2020rxandroid3 = " 3.0.2"
21- corouines = " 1.10.1 "
22- moshi = " 1.15.1 "
21+ corouines = " 1.10.2 "
22+ moshi = " 1.15.2 "
2323netty = " 4.1.86.Final"
24- okio = " 3.9.1 "
24+ okio = " 3.15.0 "
2525rxbinding = " 4.0.0"
2626camerax = " 1.4.2"
2727barcodescan = " 17.3.0"
2828qrcodegen = " 3.0.1"
29- threetenabp = " 1.4.6 "
29+ threetenabp = " 1.4.9 "
3030glide = " 4.16.0"
3131tuiutils = " 1.1.1"
32- tapm = " 1.0.1 "
32+ tapm = " 1.0.3 "
3333tlog = " 1.0.1"
3434
3535[libraries ]
Original file line number Diff line number Diff line change 11# Tue Nov 05 10:06:45 CST 2024
22distributionBase =GRADLE_USER_HOME
33distributionPath =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
55zipStoreBase =GRADLE_USER_HOME
66zipStorePath =wrapper/dists
Original file line number Diff line number Diff 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
1115dependencies {
1216 api(libs.coroutines.core)
You can’t perform that action at this time.
0 commit comments