Annual versions bump for the Android platform

- gradle: 8.2 -> 8.11.1
- androidx.constraintlayout:constraintlayout: 2.1.4 -> 2.2.1
- Android gradle plugin: 8.2.0 -> 8.6.1
- Android compile sdk: 34 -> 35
- Android target sdk: 34 -> 35
- Android build tools: 34.0.0 -> 35.0.0
- kotlin: 1.9.20 -> 2.1.20
- androidx.fragment:fragment: 1.7.1 -> 1.8.6
- OpenXR vendors plugin: 3.1.2-stable -> 4.0.0-stable
This commit is contained in:
Fredia Huya-Kouadio 2025-05-07 12:58:24 -04:00
parent 6a6a1168a5
commit 4b4144cc39
8 changed files with 16 additions and 14 deletions

1
.gitignore vendored
View File

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

View File

@ -283,7 +283,7 @@ static const char *AAB_ASSETS_DIRECTORY = "assetPacks/installTime/src/main/asset
static const int OPENGL_MIN_SDK_VERSION = 21; // Should match the value in 'platform/android/java/app/config.gradle#minSdk' 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; static const int VULKAN_MIN_SDK_VERSION = 24;
static const int DEFAULT_TARGET_SDK_VERSION = 34; // Should match the value in 'platform/android/java/app/config.gradle#targetSdk' static const int DEFAULT_TARGET_SDK_VERSION = 35; // Should match the value in 'platform/android/java/app/config.gradle#targetSdk'
#ifndef ANDROID_ENABLED #ifndef ANDROID_ENABLED
void EditorExportPlatformAndroid::_check_for_changes_poll_thread(void *ud) { void EditorExportPlatformAndroid::_check_for_changes_poll_thread(void *ud) {

View File

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

View File

@ -1,19 +1,19 @@
ext.versions = [ ext.versions = [
androidGradlePlugin: '8.2.0', androidGradlePlugin: '8.6.1',
compileSdk : 34, compileSdk : 35,
// Also update 'platform/android/export/export_plugin.cpp#OPENGL_MIN_SDK_VERSION' // Also update 'platform/android/export/export_plugin.cpp#OPENGL_MIN_SDK_VERSION'
minSdk : 21, minSdk : 21,
// Also update 'platform/android/export/export_plugin.cpp#DEFAULT_TARGET_SDK_VERSION' // Also update 'platform/android/export/export_plugin.cpp#DEFAULT_TARGET_SDK_VERSION'
targetSdk : 34, targetSdk : 35,
buildTools : '34.0.0', buildTools : '35.0.0',
kotlinVersion : '1.9.20', kotlinVersion : '2.1.20',
fragmentVersion : '1.7.1', fragmentVersion : '1.8.6',
nexusPublishVersion: '1.3.0', nexusPublishVersion: '1.3.0',
javaVersion : JavaVersion.VERSION_17, javaVersion : JavaVersion.VERSION_17,
// Also update 'platform/android/detect.py#get_ndk_version()' when this is updated. // Also update 'platform/android/detect.py#get_ndk_version()' when this is updated.
ndkVersion : '27.2.12479018', ndkVersion : '27.2.12479018',
splashscreenVersion: '1.0.1', splashscreenVersion: '1.0.1',
openxrVendorsVersion: '3.1.2-stable' openxrVendorsVersion: '4.0.0-stable'
] ]

View File

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

View File

@ -186,7 +186,7 @@ dependencies {
implementation "androidx.window:window:1.3.0" implementation "androidx.window:window:1.3.0"
implementation "androidx.core:core-splashscreen:$versions.splashscreenVersion" implementation "androidx.core:core-splashscreen:$versions.splashscreenVersion"
implementation "androidx.constraintlayout:constraintlayout:2.1.4" implementation "androidx.constraintlayout:constraintlayout:2.2.1"
implementation "org.bouncycastle:bcprov-jdk15to18:1.78" implementation "org.bouncycastle:bcprov-jdk15to18:1.78"
// Meta dependencies // Meta dependencies

View File

@ -1,6 +1,6 @@
#Wed Jan 17 12:08:26 PST 2024 #Wed Jan 17 12:08:26 PST 2024
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists 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 zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

View File

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