Update required version numbers for Android

This commit is contained in:
Kyle Szklenski 2025-07-09 08:33:16 -04:00
parent 17b5769d56
commit 21d7340162
8 changed files with 17 additions and 16 deletions

1
.gitignore vendored
View file

@ -79,6 +79,7 @@ local.properties
*.iml
.gradletasknamecache
project.properties
platform/android/java/build/
platform/android/java/*/.cxx/
platform/android/java/*/build/
platform/android/java/*/libs/

View file

@ -224,10 +224,10 @@ static const int EXPORT_FORMAT_APK = 0;
static const int EXPORT_FORMAT_AAB = 1;
static const char *APK_ASSETS_DIRECTORY = "res://android/build/assets";
static const char *AAB_ASSETS_DIRECTORY = "res://android/build/assetPacks/installTime/src/main/assets";
static const char *AAB_ASSETS_DIRECTORY = "res://android/build/assetPackInstallTime/src/main/assets";
static const int DEFAULT_MIN_SDK_VERSION = 19; // Should match the value in 'platform/android/java/app/config.gradle#minSdk'
static const int DEFAULT_TARGET_SDK_VERSION = 34; // Should match the value in 'platform/android/java/app/config.gradle#targetSdk'
static const int DEFAULT_MIN_SDK_VERSION = 21; // 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'
#ifndef ANDROID_ENABLED
void EditorExportPlatformAndroid::_check_for_changes_poll_thread(void *ud) {

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

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

View file

@ -1,11 +1,11 @@
ext.versions = [
androidGradlePlugin: '8.2.0',
compileSdk : 34,
minSdk : 19, // Also update 'platform/android/export/export_plugin.cpp#DEFAULT_MIN_SDK_VERSION'
targetSdk : 34, // Also update 'platform/android/export/export_plugin.cpp#DEFAULT_TARGET_SDK_VERSION'
buildTools : '34.0.0',
kotlinVersion : '1.9.20',
fragmentVersion : '1.6.2',
androidGradlePlugin: '8.6.1',
compileSdk : 35,
minSdk : 21, // Also update 'platform/android/export/export_plugin.cpp#DEFAULT_MIN_SDK_VERSION'
targetSdk : 35, // Also update 'platform/android/export/export_plugin.cpp#DEFAULT_TARGET_SDK_VERSION'
buildTools : '35.0.0',
kotlinVersion : '2.1.20',
fragmentVersion : '1.8.6',
nexusPublishVersion: '1.3.0',
javaVersion : JavaVersion.VERSION_17,
ndkVersion : '23.2.8568313' // Also update 'platform/android/detect.py#get_ndk_version' when this is updated.

View file

@ -14,4 +14,4 @@ pluginManagement {
}
}
include ':assetPacks:installTime'
include ':assetPackInstallTime'

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View file

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