@@ -19,12 +19,12 @@ plugins {
1919}
2020
2121android {
22- compileSdkVersion 30
22+ compileSdkVersion 31
2323
2424 defaultConfig {
2525 applicationId " com.googletest.firebase.appdistribution.testapp"
2626 minSdkVersion 19
27- targetSdkVersion 30
27+ targetSdkVersion 31
2828 versionName " 1.0"
2929 versionCode 1
3030
@@ -33,7 +33,7 @@ android {
3333
3434 buildTypes {
3535 release {
36- // This is so we can build the "release" variant for the "dev -app" (and the SDK) without
36+ // This is so we can build the "release" variant for the "test -app" (and the SDK) without
3737 // needing to have the app signed.
3838 initWith debug
3939 }
@@ -45,6 +45,7 @@ android {
4545 }
4646 }
4747 }
48+
4849 compileOptions {
4950 sourceCompatibility JavaVersion . VERSION_1_8
5051 targetCompatibility JavaVersion . VERSION_1_8
@@ -58,13 +59,18 @@ dependencies {
5859 // TODO(rachelprince): Add flag to build with public version of SDK
5960 println (" Building with HEAD version ':firebase-appdistribution' of SDK" )
6061
61- // Include the API in all variants
62- implementation project(' :firebase-appdistribution-api' )
63- // Only include the full SDK implementation in the debug variant
64- debugImplementation project(' :firebase-appdistribution' )
62+ // All variants use the API
63+ implementation project(' :firebase-appdistribution-api:ktx' )
6564
65+ // In this test project we also need to explicitly declare these dependencies
66+ implementation project(' :firebase-appdistribution-api' )
67+ implementation project(' :firebase-common:ktx' )
6668 implementation " com.google.android.gms:play-services-tasks:18.0.1"
6769
70+ // Debug uses the full implementation
71+ debugImplementation project(' :firebase-appdistribution' )
72+
73+ // Other dependencies
6874 implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion "
6975 implementation ' androidx.core:core-ktx:1.5.0'
7076 implementation " androidx.core:core:1.6.0"
0 commit comments