@@ -19,12 +19,12 @@ plugins {
19
19
}
20
20
21
21
android {
22
- compileSdkVersion 30
22
+ compileSdkVersion 31
23
23
24
24
defaultConfig {
25
25
applicationId " com.googletest.firebase.appdistribution.testapp"
26
26
minSdkVersion 19
27
- targetSdkVersion 30
27
+ targetSdkVersion 31
28
28
versionName " 1.0"
29
29
versionCode 1
30
30
@@ -33,7 +33,7 @@ android {
33
33
34
34
buildTypes {
35
35
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
37
37
// needing to have the app signed.
38
38
initWith debug
39
39
}
@@ -45,6 +45,7 @@ android {
45
45
}
46
46
}
47
47
}
48
+
48
49
compileOptions {
49
50
sourceCompatibility JavaVersion . VERSION_1_8
50
51
targetCompatibility JavaVersion . VERSION_1_8
@@ -58,13 +59,18 @@ dependencies {
58
59
// TODO(rachelprince): Add flag to build with public version of SDK
59
60
println (" Building with HEAD version ':firebase-appdistribution' of SDK" )
60
61
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' )
65
64
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' )
66
68
implementation " com.google.android.gms:play-services-tasks:18.0.1"
67
69
70
+ // Debug uses the full implementation
71
+ debugImplementation project(' :firebase-appdistribution' )
72
+
73
+ // Other dependencies
68
74
implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion "
69
75
implementation ' androidx.core:core-ktx:1.5.0'
70
76
implementation " androidx.core:core:1.6.0"
0 commit comments