Add support for exporting to Google Play Instant

This commit is contained in:
kojurohan42
2025-05-23 22:00:14 +05:45
parent 4a44078451
commit 12ad9ed4e0
5 changed files with 50 additions and 3 deletions
+7 -1
View File
@@ -15,7 +15,8 @@ ext.versions = [
// Also update 'platform/android/detect.py#get_ndk_version()' when this is updated.
ndkVersion : '28.1.13356709',
splashscreenVersion: '1.0.1',
openxrVendorsVersion: '4.0.0-stable'
openxrVendorsVersion: '4.0.0-stable',
instantAppsVersion: '17.0.0'
]
@@ -379,3 +380,8 @@ ext.getAddonsDirectory = { ->
String addonsDirectory = project.hasProperty("addons_directory") ? project.property("addons_directory") : ""
return addonsDirectory
}
ext.isInstantApp = { ->
String instantApp = project.hasProperty("play_instant_app") ? project.property("play_instant_app") : ""
return Boolean.parseBoolean(instantApp)
}