summaryrefslogtreecommitdiff
path: root/platform/android/java/app/assetPacks/installTime
diff options
context:
space:
mode:
authorne0fhyk <fhuyakou@gmail.com>2021-09-09 19:55:42 -0700
committerne0fhyk <fhuyakou@gmail.com>2021-09-15 06:06:11 -0700
commit5bbfe0b5a88be9fe32c4f945cb3eb1bdf1812329 (patch)
tree2f6aa489af5164f33bf80203b35be1f798beae3f /platform/android/java/app/assetPacks/installTime
parent32f8f74d8345049e41d1abb7239fcee40ecb2c53 (diff)
Add support for Play Asset Delivery.
This only adds support for a subset of Play Asset Delivery: this causes a single install-time asset pack to always be present, but doesn't add support for dynamically downloaded asset packs.
Diffstat (limited to 'platform/android/java/app/assetPacks/installTime')
-rw-r--r--platform/android/java/app/assetPacks/installTime/build.gradle8
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/android/java/app/assetPacks/installTime/build.gradle b/platform/android/java/app/assetPacks/installTime/build.gradle
new file mode 100644
index 0000000000..b06faac374
--- /dev/null
+++ b/platform/android/java/app/assetPacks/installTime/build.gradle
@@ -0,0 +1,8 @@
+apply plugin: 'com.android.asset-pack'
+
+assetPack {
+ packName = "installTime" // Directory name for the asset pack
+ dynamicDelivery {
+ deliveryType = "install-time" // Delivery mode
+ }
+}