-
Notifications
You must be signed in to change notification settings - Fork 0
Update Compose and compileSdk version, migrate deprecated APIs #646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades Compose and Android SDK versions while refactoring deprecated APIs and styling components.
- Replace deprecated
rememberRipplewith the newrippleAPI across multiple views. - Refactor
Chipborder handling and remove custom ripple theming inNoRippleIconButton. - Bump
compileSdk/targetSdkto 35 and update the Compose BOM and related dependencies.
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| presentation/src/main/java/daily/dayo/presentation/view/*.kt | Replaced rememberRipple imports/usages with ripple |
| presentation/src/main/java/daily/dayo/presentation/view/Chip.kt | Swapped AssistChipDefaults.assistChipBorder for BorderStroke |
| presentation/src/main/java/daily/dayo/presentation/view/Button.kt | Removed custom RippleTheme, updated indication(null) |
| presentation/src/main/java/daily/dayo/presentation/screen/settings/SettingsScreen.kt | Added null fallback for versionName |
| presentation/build.gradle | Bumped compileSdk to 35 and restructured Compose BOM setup |
| data/build.gradle | Bumped compileSdk to 35 |
| app/build.gradle | Bumped compileSdk & targetSdk to 35 |
| README.md | Updated documented targetSdkVersion |
Comments suppressed due to low confidence (1)
presentation/build.gradle:89
- This Gradle declaration uses an explicit type (
Dependency) in a Groovy DSL script, which will cause a syntax error. Usedef composeBom = platform('...')or apply the BOM directly in theimplementationcall.
Dependency composeBom = platform('androidx.compose:compose-bom:2025.05.00')
app/build.gradle
Outdated
| defaultConfig { | ||
| applicationId "com.daily.dayo" | ||
| compileSdk 34 | ||
| compileSdk 35 |
Copilot
AI
May 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The compileSdk property appears inside the defaultConfig block; it should be declared directly under the android block (above defaultConfig) to be recognized by the Android plugin.
presentation/src/main/java/daily/dayo/presentation/screen/settings/SettingsScreen.kt
Outdated
Show resolved
Hide resolved
…ings/SettingsScreen.kt The getPackageInfo(String, int) call is deprecated on API 33+. switching to getPackageInfo(packageName, PackageManager.PackageInfoFlags.of(0)) to avoid deprecation warnings and ensure forward compatibility. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ndroid block in app module build.gradle


작업사항
참고