1414 * limitations under the License.
1515 */
1616
17- apply plugin : ' com. android.application '
17+ apply plugin : ' android'
1818apply plugin : ' kotlin-android'
1919apply plugin : ' kotlin-kapt'
2020apply plugin : " androidx.navigation.safeargs"
2121
2222android {
23- compileSdkVersion 29
23+ namespace " com.example.android.camera2.basic"
24+ compileSdk 34
2425 defaultConfig {
2526 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
2627 applicationId " com.android.example.camera2.basic"
2728 minSdkVersion 21
28- targetSdkVersion 29
29+ targetSdk 34
2930 versionCode 1
3031 versionName " 1.0.0"
3132 }
@@ -48,40 +49,41 @@ android {
4849
4950 buildFeatures {
5051 viewBinding true
52+ dataBinding true
5153 }
5254}
5355
5456dependencies {
5557 implementation project(' :utils' )
5658
5759 // Kotlin lang
58- implementation ' androidx.core:core-ktx:1.2.0 '
60+ implementation ' androidx.core:core-ktx:1.13.1 '
5961 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version "
60- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.4 '
62+ implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 '
6163
6264 // App compat and UI things
63- implementation ' androidx.appcompat:appcompat:1.1 .0'
64- implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.2.0 '
65- implementation " androidx.viewpager2:viewpager2:1.0 .0"
66- implementation ' androidx.constraintlayout:constraintlayout:1 .1.3 '
65+ implementation ' androidx.appcompat:appcompat:1.7 .0'
66+ implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.8.3 '
67+ implementation " androidx.viewpager2:viewpager2:1.1 .0"
68+ implementation ' androidx.constraintlayout:constraintlayout:2 .1.4 '
6769
6870 // Navigation library
69- def nav_version = ' 2.2.2 '
71+ def nav_version = ' 2.7.7 '
7072 implementation " androidx.navigation:navigation-fragment-ktx:$nav_version "
7173 implementation " androidx.navigation:navigation-ui-ktx:$nav_version "
7274
7375 // EXIF Interface
74- implementation ' androidx.exifinterface:exifinterface:1.2.0 '
76+ implementation ' androidx.exifinterface:exifinterface:1.3.7 '
7577
7678 // Glide
7779 implementation ' com.github.bumptech.glide:glide:4.11.0'
7880 kapt ' com.github.bumptech.glide:compiler:4.11.0'
7981
8082 // Unit testing
81- testImplementation ' androidx.test.ext:junit:1.1 .1'
82- testImplementation ' androidx.test:rules:1.2.0 '
83- testImplementation ' androidx.test:runner:1.2.0 '
84- testImplementation ' androidx.test.espresso:espresso-core:3.2.0 '
83+ testImplementation ' androidx.test.ext:junit:1.2 .1'
84+ testImplementation ' androidx.test:rules:1.6.1 '
85+ testImplementation ' androidx.test:runner:1.6.1 '
86+ testImplementation ' androidx.test.espresso:espresso-core:3.6.1 '
8587 testImplementation ' org.robolectric:robolectric:4.3.1'
8688
8789 // Instrumented testing
0 commit comments