You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
릴리즈 빌드에 R8을 켰습니다. AGP 9에서는 optimization.enable 하나로 코드 축소, 난독화, 리소스 축소가 같이 적용됩니다.
라이브러리 keep 규칙은 따로 추가하지 않았습니다. Retrofit, kotlinx.serialization, Credential Manager, Google ID, 네이버 지도, Hilt, Room, OkHttp, Coil 모두 라이브러리 안에 규칙이 들어 있고, 리플렉션이나 getIdentifier를 쓰는 곳이 없습니다.
릴리즈 APK의 dex가 42MB에서 5.2MB로 줄었습니다. APK 전체 크기는 네이버 지도 네이티브 라이브러리(4개 ABI, 약 90MB) 때문에 크지만, AAB로 올리면 기기에 맞는 ABI만 내려갑니다.
매핑 파일 보관
릴리즈 빌드 때 app/build/outputs/mapping/release/mapping.txt가 만들어집니다.
AAB로 Play Console에 올리면 매핑 파일이 같이 올라가서, Play Console의 비정상 종료 스택이 자동으로 복원됩니다.
출시 버전마다 mapping.txt를 따로 보관해 두면, 다른 곳에서 받은 스택도 retrace로 복원할 수 있습니다.
No actionable comments were generated in the recent review.
Walkthrough
릴리즈 빌드 최적화 설정의 enable 값이 false에서 true로 변경되었습니다.
Merge Risk: Minimal · up to 63bd3
No merge-blocking issue is established. Release-flow test results were not reported.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
제목이 릴리즈 빌드의 R8 코드·리소스 축소 적용을 정확히 나타냅니다.
Description check
설명이 R8 적용, 축소 결과, 매핑 파일 보관 방법을 변경 내용과 연관해 설명합니다.
Linked Issues check
직접 연결된 열린 이슈 #233의 릴리즈 R8 적용 요구는 app/build.gradle.kts의 release.optimization.enable = true로 반영했습니다. PR 설명은 AGP 9 설정이 코드·리소스 축소와 난독화를 활성화한다고 밝힙니다. PR 설명은 Retrofit 등 라이브러리의 자체 keep 규칙을 확인했고 별도 규칙이 필요…
Out of Scope Changes check
변경은 릴리즈 빌드 최적화를 활성화하는 app/build.gradle.kts 한 줄입니다. #233의 R8 적용 범위와 직접 관련됩니다.
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Full details: Linked Issues check
Explanation
직접 연결된 열린 이슈 #233의 릴리즈 R8 적용 요구는 app/build.gradle.kts의 release.optimization.enable = true로 반영했습니다. PR 설명은 AGP 9 설정이 코드·리소스 축소와 난독화를 활성화한다고 밝힙니다. PR 설명은 Retrofit 등 라이브러리의 자체 keep 규칙을 확인했고 별도 규칙이 필요 없다고 명시합니다. 매핑 파일 경로와 Play Console 업로드, 버전별 보관 및 retrace 사용 방법도 설명합니다. 주요 흐름 확인은 수동 테스트 항목이므로 코딩 요구사항 평가에서 제외합니다.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.
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.
Reviewing files that changed from the base of the PR and between 2300480 and 63bd3a1.
Files selected for processing: 1
app/build.gradle.kts
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue 🛠
Work Description ✏️
optimization.enable하나로 코드 축소, 난독화, 리소스 축소가 같이 적용됩니다.getIdentifier를 쓰는 곳이 없습니다.매핑 파일 보관
app/build/outputs/mapping/release/mapping.txt가 만들어집니다.mapping.txt를 따로 보관해 두면, 다른 곳에서 받은 스택도retrace로 복원할 수 있습니다.Screenshot 📸
N/A
Uncompleted Tasks 😅
To Reviewers 📢
곧!!