11plugins {
22 id ' com.android.application'
33 id ' kotlin-android'
4+ id ' org.jetbrains.kotlin.plugin.compose'
45}
56
67android {
7- compileSdk 33
8+ namespace = " com.xm.examples"
9+
10+ compileSdk 34
811
912 defaultConfig {
1013 applicationId " com.xm.examples"
1114 minSdk 21
12- targetSdk 33
15+ targetSdk 34
1316 versionCode 1
1417 versionName " 1.0"
1518
@@ -28,35 +31,32 @@ android {
2831 }
2932 }
3033 compileOptions {
31- sourceCompatibility JavaVersion . VERSION_1_8
32- targetCompatibility JavaVersion . VERSION_1_8
34+ sourceCompatibility JavaVersion . VERSION_17
35+ targetCompatibility JavaVersion . VERSION_17
3336 }
3437 kotlinOptions {
35- jvmTarget = ' 1.8'
36- }
37- composeOptions {
38- kotlinCompilerExtensionVersion " 1.3.2"
38+ jvmTarget = JavaVersion . VERSION_17
3939 }
4040}
4141
4242dependencies {
4343 implementation project(' :tka' )
4444
45- def appcompat_version = " 1.6.0"
46- implementation " androidx.appcompat:appcompat:$appcompat_version "
45+ implementation " androidx.appcompat:appcompat:1.6.1"
4746
4847 implementation libraries. rx. java
4948 implementation " io.reactivex.rxjava3:rxkotlin:3.0.1"
5049 implementation " io.reactivex.rxjava3:rxandroid:3.0.2"
5150
52- implementation ' androidx.fragment:fragment-ktx:1.5.5 '
51+ implementation ' androidx.fragment:fragment-ktx:1.8.1 '
5352
5453 testImplementation libraries. junit
55- testImplementation ' org.mockito:mockito-core:5.0.0'
54+ testImplementation ' org.mockito:mockito-core:5.12.0'
55+
56+ implementation " androidx.activity:activity-compose:1.9.0"
5657
57- implementation " androidx.activity:activity-compose:1.6.1"
58- def compose_version = " 1.3.1"
59- implementation " androidx.compose.foundation:foundation:$compose_version "
60- implementation " androidx.compose.material:material:$compose_version "
61- implementation " androidx.compose.runtime:runtime-rxjava3:1.3.3"
58+ implementation platform(" androidx.compose:compose-bom:2024.06.00" )
59+ implementation " androidx.compose.foundation:foundation"
60+ implementation " androidx.compose.material:material"
61+ implementation " androidx.compose.runtime:runtime-rxjava3"
6262}
0 commit comments