diff --git a/app/build.gradle b/app/build.gradle index ccdb4d4..787274f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ android { defaultConfig { applicationId "com.wajahatkarim.flippable_demo" minSdk 21 - targetSdk 33 + targetSdk 34 versionCode 1 versionName "1.0" @@ -26,43 +26,44 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = '19' + jvmTarget = '17' } buildFeatures { compose true } composeOptions { - kotlinCompilerExtensionVersion composeVersion + kotlinCompilerExtensionVersion composeKotlinCompilerExtensionVersion } packagingOptions { resources { excludes += '/META-INF/{AL2.0,LGPL2.1}' } } + namespace 'com.wajahatkarim.flippable_demo' } dependencies { // Android - implementation 'androidx.core:core-ktx:1.7.0' - implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1' + implementation "androidx.core:core-ktx:$androidCoreVersion" + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0' // Compose implementation "androidx.compose.ui:ui:$composeVersion" implementation "androidx.compose.material:material:$composeVersion" implementation "androidx.compose.ui:ui-tooling-preview:$composeVersion" - implementation 'androidx.activity:activity-compose:1.4.0' - implementation 'androidx.constraintlayout:constraintlayout:2.1.3' - implementation "androidx.constraintlayout:constraintlayout-compose:1.0.0" + implementation 'androidx.activity:activity-compose:1.8.2' + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' + implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1" debugImplementation "androidx.compose.ui:ui-tooling:$composeVersion" implementation project(":flippable") - testImplementation 'junit:junit:4.13.2' - androidTestImplementation 'androidx.test.ext:junit:1.1.3' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' + testImplementation "junit:junit:$jUnitVersion" + androidTestImplementation "androidx.test.ext:junit:$androidJUnitTestVersion" + androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' androidTestImplementation "androidx.compose.ui:ui-test-junit4:$composeVersion" } \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 00563a3..23342cb 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,5 @@ - +