Add flavour fallback to allow modules like kiwixlib to integrate

This commit is contained in:
mhutti1 2017-12-14 11:54:00 +00:00 committed by Isaac Hutt
parent b9930252e1
commit ffe3bf15a4

View File

@ -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