mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Add flavour fallback to allow modules like kiwixlib to integrate
This commit is contained in:
parent
b9930252e1
commit
ffe3bf15a4
@ -180,18 +180,21 @@ android {
|
||||
|
||||
mock_network {
|
||||
initWith(buildTypes.debug)
|
||||
matchingFallbacks = ['debug', 'release']
|
||||
// TODO add DI for the mock network
|
||||
}
|
||||
|
||||
local_download_server {
|
||||
initWith(buildTypes.debug)
|
||||
buildConfigField "String", "KIWIX_DOWNLOAD_URL", "\"http://192.168.1.196/\""
|
||||
matchingFallbacks = ['debug', 'release']
|
||||
}
|
||||
|
||||
// Used to assess code coverage
|
||||
coverage {
|
||||
initWith debug
|
||||
testCoverageEnabled true
|
||||
matchingFallbacks = ['debug', 'release']
|
||||
}
|
||||
|
||||
// Release Type
|
||||
|
Loading…
x
Reference in New Issue
Block a user