Skip to content

ci: Android Check가 JDK 17로 Gradle을 돌리게 고정한다 - #51

Merged
seongwon030 merged 1 commit into
mainfrom
seongwon030/ci-android-jdk17
Nov 21, 2026
Merged

seongwon030 merged 1 commit into
mainfrom
seongwon030/ci-android-jdk17

Conversation

@seongwon030

Copy link
Copy Markdown
Member

왜 필요한지

#50의 Android Check가 코드와 무관하게 실패했습니다. 지금은 main에 올리는 어떤 PR도 같은 이유로 깨집니다.

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 69
  • class file major 69 = Java 25. Gradle 8.14.3은 Java 24까지만 실행할 수 있어, 빌드 스크립트 분석 단계에서 8초 만에 멈췄습니다
  • 워크플로는 runs-on: ubuntu-latest이고 JDK를 지정하지 않아 이미지 기본 JDK를 그대로 씁니다

바꾼 것

actions/setup-java@v4로 JDK 17(temurin)을 명시합니다. RN 0.81 권장 버전입니다.

runs-on: ubuntu-24.04로 러너를 고정하는 방법도 있지만, 이미지가 또 바뀌면 같은 문제가 다시 생겨 JDK를 직접 지정했습니다.

검증

  • 이 PR의 Android Check 통과
  • 머지 후 #50에 main을 반영해 Android Check 재실행

🤖 Generated with Claude Code

ubuntu-latest가 ubuntu-24.04에서 ubuntu-26.04로 바뀌면서 러너 기본 JDK가
올라갔다. Gradle 8.14.3은 Java 24까지만 실행할 수 있어, 빌드 스크립트를
분석하는 단계에서 "Unsupported class file major version 69"(Java 25)로
assembleDebug가 8초 만에 실패했다. 워크플로가 JDK를 지정하지 않아 이미지
기본값을 그대로 탔던 게 원인이다.

러너를 ubuntu-24.04로 고정하는 대신 setup-java로 JDK 17(RN 0.81 권장)을
명시한다. 이미지가 또 바뀌어도 같은 문제가 생기지 않는다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 50 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 60863ca3-dfc2-4161-aa36-da8ffcfdb645
Commits

Reviewing files that changed from the base of the PR and between ff9e37f and b95dcfd.

Files selected for processing: 1

  • .github/workflows/android-check.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@seongwon030
seongwon030 merged commit f622876 into main Nov 21, 2026
2 checks passed
@seongwon030
seongwon030 deleted the seongwon030/ci-android-jdk17 branch November 21, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant