mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Refactored the code to make the 'Play Asset Delivery' process generic.
* Renamed the module to 'install_time_asset' to make it generic for every custom app.
This commit is contained in:
parent
724f4a7ff4
commit
338d64efa7
@ -48,7 +48,7 @@ android {
|
||||
enableSplit = false
|
||||
}
|
||||
}
|
||||
assetPacks += ":install_time_asset_for_dwds"
|
||||
assetPacks += ":install_time_asset"
|
||||
}
|
||||
|
||||
fun ProductFlavor.createDownloadTask(file: File): Task {
|
||||
|
@ -1,7 +1,7 @@
|
||||
apply plugin: 'com.android.asset-pack'
|
||||
|
||||
assetPack {
|
||||
packName = "install_time_asset_for_dwds" // Directory name for the asset pack
|
||||
packName = "install_time_asset" // Directory name for the asset pack
|
||||
dynamicDelivery {
|
||||
deliveryType = "install-time" // delivery mode
|
||||
}
|
@ -2,6 +2,6 @@ include(
|
||||
":core",
|
||||
":app",
|
||||
":custom",
|
||||
":install_time_asset_for_dwds"
|
||||
":install_time_asset"
|
||||
)
|
||||
rootProject.name = "kiwix-android"
|
||||
|
Loading…
x
Reference in New Issue
Block a user