mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-13 09:26:52 -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
|
enableSplit = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
assetPacks += ":install_time_asset_for_dwds"
|
assetPacks += ":install_time_asset"
|
||||||
}
|
}
|
||||||
|
|
||||||
fun ProductFlavor.createDownloadTask(file: File): Task {
|
fun ProductFlavor.createDownloadTask(file: File): Task {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apply plugin: 'com.android.asset-pack'
|
apply plugin: 'com.android.asset-pack'
|
||||||
|
|
||||||
assetPack {
|
assetPack {
|
||||||
packName = "install_time_asset_for_dwds" // Directory name for the asset pack
|
packName = "install_time_asset" // Directory name for the asset pack
|
||||||
dynamicDelivery {
|
dynamicDelivery {
|
||||||
deliveryType = "install-time" // delivery mode
|
deliveryType = "install-time" // delivery mode
|
||||||
}
|
}
|
@ -2,6 +2,6 @@ include(
|
|||||||
":core",
|
":core",
|
||||||
":app",
|
":app",
|
||||||
":custom",
|
":custom",
|
||||||
":install_time_asset_for_dwds"
|
":install_time_asset"
|
||||||
)
|
)
|
||||||
rootProject.name = "kiwix-android"
|
rootProject.name = "kiwix-android"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user