Skip to content
Snippets Groups Projects
Commit f425d0b5 authored by Taras's avatar Taras
Browse files

Add worker test dependencies

parent cb34de53
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,8 @@ android { ...@@ -21,7 +21,8 @@ android {
} }
buildConfigField "boolean", "RAGESHAKE_ENABLED", "false" buildConfigField "boolean", "RAGESHAKE_ENABLED", "false"
buildConfigField "boolean", "MEDIA_BACKUP_ENABLED", "false" buildConfigField "boolean", "MEDIA_BACKUP_ENABLED", "true"
buildConfigField "boolean", "IS_SUBSCRIPTIONS_ENABLED", "false"
} }
buildFeatures { buildFeatures {
...@@ -47,11 +48,9 @@ android { ...@@ -47,11 +48,9 @@ android {
productFlavors { productFlavors {
gplay { gplay {
dimension flavor_dimension_name dimension flavor_dimension_name
buildConfigField("boolean", "IS_SUBSCRIPTIONS_ENABLED", "false")
} }
fdroid { fdroid {
dimension flavor_dimension_name dimension flavor_dimension_name
buildConfigField("boolean", "IS_SUBSCRIPTIONS_ENABLED", "false")
} }
} }
...@@ -182,6 +181,8 @@ dependencies { ...@@ -182,6 +181,8 @@ dependencies {
testImplementation 'junit:junit:4.13.2' testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation "androidx.work:work-testing:$work_version"
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
} }
if (getGradle().getStartParameter().getTaskRequests().toString().toLowerCase().contains("gplay")) { if (getGradle().getStartParameter().getTaskRequests().toString().toLowerCase().contains("gplay")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment