Skip to content

Commit a07822e

Browse files
committed
Android uses Java 11
Revert "DEBUG: Android: Run gradlew with --stacktrace --debug"
1 parent da66235 commit a07822e

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,12 @@ jobs:
354354
with:
355355
persist-credentials: false
356356
- name: Build and test
357+
env:
358+
# Gradle 8 doesn't work on Java 25
359+
# https://github.com/gradle/gradle/issues/35111
360+
# https://github.com/gradle/gradle/issues/35401
361+
JAVA_HOME: $(JAVA_HOME_11_X64)
362+
PATH: $(JAVA_HOME_11_X64)/bin:$(PATH)
357363
run: python3 Platforms/Android ci --fast-ci ${{ matrix.arch }}-linux-android
358364

359365
build-ios:

Platforms/Android/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ async def gradle_task(context):
663663
context.args[0:0] = ["-m", "test"]
664664

665665
args = [
666-
gradlew, "--stacktrace", "--debug", "--console", "plain", f"{task_prefix}DebugAndroidTest",
666+
gradlew, "--console", "plain", f"{task_prefix}DebugAndroidTest",
667667
] + [
668668
f"-P{name}={value}"
669669
for name, value in [

0 commit comments

Comments
 (0)