11plugins {
22 id(" com.android.application" )
33 id(" kotlin-android" )
4- id(" kotlin-android-extensions" )
54 id(" kotlin-kapt" )
65}
76
87android {
9- compileSdkVersion(29 )
8+ compileSdkVersion(androidCompileSdkVersion )
109
1110 defaultConfig {
12- minSdkVersion(28 )
13- targetSdkVersion(29 )
11+ minSdkVersion(androidMinSdkVersion )
12+ targetSdkVersion(androidTargetSdkVersion )
1413 versionCode = 1
1514 versionName = " 0.1.0"
1615 testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
@@ -32,6 +31,7 @@ android {
3231 }
3332 }
3433
34+ @Suppress(" UnstableApiUsage" )
3535 compileOptions {
3636 kotlinOptions {
3737 jvmTarget = " 1.8"
@@ -44,19 +44,19 @@ android {
4444}
4545
4646dependencies {
47- androidTestImplementation(" androidx.test.espresso:espresso-core:3.2.0 " )
48- androidTestImplementation(" androidx.test.ext:junit:1.1.1 " )
49- implementation(" androidx.activity:activity-ktx:1.2.0-alpha06 " )
50- implementation(" androidx.appcompat:appcompat:1.1.0 " )
51- implementation(" androidx.constraintlayout:constraintlayout:2.0.0-beta6 " )
52- implementation(" androidx.core:core-ktx:1.3.0 " )
53- implementation(" androidx.lifecycle:lifecycle-runtime-ktx:2.3.0-alpha04 " )
54- implementation(" androidx.recyclerview:recyclerview:1.1.0 " )
55- implementation(" io.arrow-kt:arrow-optics:0.10.5 " )
47+ androidTestImplementation(" androidx.test.espresso:espresso-core:$androidxEspressoVersion " )
48+ androidTestImplementation(" androidx.test.ext:junit:$androidxJunitVersion " )
49+ implementation(" androidx.activity:activity-ktx:$androidxActivityVersion " )
50+ implementation(" androidx.appcompat:appcompat:$androidxAppcompatVersion " )
51+ implementation(" androidx.constraintlayout:constraintlayout:$androidxConstraintLayoutVersion " )
52+ implementation(" androidx.core:core-ktx:$androidxCoreVersion " )
53+ implementation(" androidx.lifecycle:lifecycle-runtime-ktx:$androidxLifecycleVersion " )
54+ implementation(" androidx.recyclerview:recyclerview:$androidxRecyclerviewVersion " )
55+ implementation(" io.arrow-kt:arrow-optics:$arrowVersion " )
5656 implementation(project(" :composable-architecture" ))
5757 implementation(project(" :composable-architecture-android" ))
58- kapt(" io.arrow-kt:arrow-meta:0.10.5 " )
59- testImplementation(" junit:junit:4.13 " )
60- testImplementation(" org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.7 " )
58+ kapt(" io.arrow-kt:arrow-meta:$arrowVersion " )
59+ testImplementation(" junit:junit:$junitVersion " )
60+ testImplementation(" org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion " )
6161 testImplementation(project(" :composable-architecture-test" ))
6262}
0 commit comments