mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 07:16:04 -04:00
Added build task to sync the changes.
* In our 'publishingBundle' task, we are sequentially executing the 'downloading' and 'buildingBundle' tasks. Since we dynamically download and place the ZIM file, Gradle does not initially recognize any new files added to the asset folder. As a result, these files are not included in our bundle. Now, after downloading and placing the ZIM file in the asset folder, we synchronize our changes, allowing Gradle to detect the addition of new files.
This commit is contained in:
parent
725a5ccd0b
commit
1d39d35d98
@ -225,6 +225,7 @@ afterEvaluate {
|
||||
val flavorName =
|
||||
it.name.substringAfter("publish").substringBefore("ReleaseBundleWithPlayAssetDelivery")
|
||||
it.dependsOn.add(tasks.getByName("download${flavorName}ZimAndPutInAssetFolder"))
|
||||
it.dependsOn.add(tasks.getByName("build"))
|
||||
it.dependsOn.add(tasks.getByName("bundle${flavorName}Release"))
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user