@@ -26,12 +26,11 @@ android {
2626 }
2727 }
2828 compileOptions {
29- sourceCompatibility JavaVersion . VERSION_1_8
30- targetCompatibility JavaVersion . VERSION_1_8
29+ sourceCompatibility JavaVersion . VERSION_11
30+ targetCompatibility JavaVersion . VERSION_11
3131 }
3232 kotlinOptions {
33- jvmTarget = ' 1.8'
34- useIR = true
33+ jvmTarget = ' 11'
3534 }
3635 buildFeatures {
3736 compose true
@@ -44,6 +43,7 @@ android {
4443 excludes + = ' /META-INF/{AL2.0,LGPL2.1}'
4544 }
4645 }
46+ namespace ' tech.devscast.validable_sample'
4747}
4848
4949dependencies {
@@ -56,12 +56,13 @@ dependencies {
5656 implementation platform(' androidx.compose:compose-bom:2022.10.00' )
5757
5858 implementation " androidx.compose.ui:ui"
59+ implementation " androidx.activity:activity-compose:1.6.1"
5960 implementation " androidx.compose.material:material"
6061 implementation " androidx.compose.ui:ui-tooling-preview"
6162 implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
62- testImplementation ' junit:junit:4.+ '
63- androidTestImplementation ' androidx.test.ext:junit:1.1.3 '
64- androidTestImplementation ' androidx.test.espresso:espresso-core:3.4 .0'
65- androidTestImplementation " androidx.compose.ui:ui-test-junit4"
63+ testImplementation ' junit:junit:4.13.2 '
64+ androidTestImplementation ' androidx.test.ext:junit:1.1.4 '
65+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.5 .0'
66+ androidTestImplementation " androidx.compose.ui:ui-test-junit4:1.3.1 "
6667 debugImplementation " androidx.compose.ui:ui-tooling"
6768}
0 commit comments