Skip to content

Commit

Permalink
Refactored the code to make the 'Play Asset Delivery' process generic.
Browse files Browse the repository at this point in the history
* Renamed the module to 'install_time_asset' to make it generic for every custom app.
  • Loading branch information
MohitMaliDeveloper committed Oct 20, 2023
1 parent 724f4a7 commit 338d64e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ android {
enableSplit = false
}
}
assetPacks += ":install_time_asset_for_dwds"
assetPacks += ":install_time_asset"
}

fun ProductFlavor.createDownloadTask(file: File): Task {
Expand Down
Original file line number Diff line number Diff line change
@@ -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
}
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ include(
":core",
":app",
":custom",
":install_time_asset_for_dwds"
":install_time_asset"
)
rootProject.name = "kiwix-android"

0 comments on commit 338d64e

Please sign in to comment.