Examples: Android: update to AGP 9.2.0 to support Gradle 9.6.0.

This commit is contained in:
ocornut
2026-07-02 14:26:46 +02:00
parent e9ea19086b
commit 6824e2c2e4
4 changed files with 8 additions and 10 deletions

View File

@@ -654,10 +654,10 @@ jobs:
name: Build - Android
steps:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
with:
gradle-version: '8.14.5'
#- name: Setup Gradle
# uses: gradle/actions/setup-gradle@v6
# with:
# gradle-version: '8.14.5'
- uses: actions/checkout@v6
- name: Build example_android_opengl3

View File

@@ -140,10 +140,12 @@ Other Changes:
when available, fixing OpenGL DPI scaling issues as e.g. NVIDIA drivers tends
to spawn multiple-thread to manage OpenGL. (#9403)
- Examples:
- Android: update to AGP 9.2.0 to support Gradle 9.6.0.
- SDL2/SDL3: use `SDL_GetWindowSizeInPixels()` to create frame-buffers. Fixes issues
with non-fractional framebuffer size on Wayland. (#8761, #9124) [@billtran1632001]
- SDL3+Metal4: added new example. (#9458, #9451) [@AmelieHeinrich]
-----------------------------------------------------------------------
VERSION 1.92.8 (Released 2026-05-12)
-----------------------------------------------------------------------

View File

@@ -1,6 +1,5 @@
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
}
android {
@@ -25,9 +24,6 @@ android {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '11'
}
externalNativeBuild {
cmake {
path file('../../CMakeLists.txt')

View File

@@ -1,6 +1,6 @@
[versions]
agp = "8.12.0"
kotlin = "2.0.21"
agp = "9.2.0"
kotlin = "2.3.21"
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }