Update to the AAB directory layout

Follow-up to https://github.com/godotengine/godot/pull/106152 to address the regression described in https://github.com/godotengine/godot/issues/106582
This commit is contained in:
Fredia Huya-Kouadio
2025-05-19 10:50:43 -07:00
committed by Anish Mishra
parent cc7fbe6aec
commit 8f2ad2eb42
5 changed files with 6 additions and 7 deletions

View File

@ -283,7 +283,7 @@ static const int EXPORT_FORMAT_APK = 0;
static const int EXPORT_FORMAT_AAB = 1;
static const char *APK_ASSETS_DIRECTORY = "assets";
static const char *AAB_ASSETS_DIRECTORY = "assetPacks/installTime/src/main/assets";
static const char *AAB_ASSETS_DIRECTORY = "assetPackInstallTime/src/main/assets";
static const int OPENGL_MIN_SDK_VERSION = 21; // Should match the value in 'platform/android/java/app/config.gradle#minSdk'
static const int VULKAN_MIN_SDK_VERSION = 24;

View File

@ -3,7 +3,7 @@ plugins {
}
assetPack {
packName = "installTime" // Directory name for the asset pack
packName = "assetPackInstallTime" // Directory name for the asset pack
dynamicDelivery {
deliveryType = "install-time" // Delivery mode
}

View File

@ -90,7 +90,7 @@ android {
jvmTarget = versions.javaVersion
}
assetPacks = [":assetPacksInstallTime"]
assetPacks = [":assetPackInstallTime"]
namespace = 'com.godot.game'

View File

@ -15,5 +15,4 @@ pluginManagement {
}
}
include ':assetPacksInstallTime'
project(':assetPacksInstallTime').projectDir = file("assetPacks/installTime")
include ':assetPackInstallTime'

View File

@ -25,5 +25,5 @@ include ':lib'
include ':nativeSrcsConfigs'
include ':editor'
include ':assetPacksInstallTime'
project(':assetPacksInstallTime').projectDir = file("app/assetPacks/installTime")
include ':assetPackInstallTime'
project(':assetPackInstallTime').projectDir = file("app/assetPackInstallTime")