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
parent a2aefab4c7
commit ec7fb37db1
5 changed files with 6 additions and 7 deletions

View file

@ -279,7 +279,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 DEFAULT_MIN_SDK_VERSION = 24; // Should match the value in 'platform/android/java/app/config.gradle#minSdk'
static const int DEFAULT_TARGET_SDK_VERSION = 35; // Should match the value in 'platform/android/java/app/config.gradle#targetSdk'

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")