UpdateServiceTest needs app-full-debug.apk to work
see 3fa5e98fc4
in !1135
This commit is contained in:
parent
29e69fcf1d
commit
034de8e7f9
|
@ -200,3 +200,15 @@ dependencies {
|
|||
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
|
||||
androidTestImplementation 'androidx.work:work-testing:2.7.1'
|
||||
}
|
||||
|
||||
// org.fdroid.fdroid.updater.UpdateServiceTest needs app-full-debug.apk
|
||||
android.productFlavors.all { flavor ->
|
||||
if (flavor.name.equals("full")) {
|
||||
project.afterEvaluate { project ->
|
||||
def dep = tasks.getByName("assembleFullDebug")
|
||||
project.tasks.withType(Test) { task ->
|
||||
task.dependsOn dep
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue