Skip to content

Conversation

@DongJun-H
Copy link
Member

@DongJun-H DongJun-H commented May 20, 2025

작업사항

  • Compose 라이브러리 버전 업데이트 및 업데이트간 Deprecated된 API 메소드들에 대한 리팩토링
    • ripple 관련 코드 변경
    • Chip-border 설정 코드 변경
  • Compose 라이브러리 버전 업데이트로 인한 compileSdk 35로 상향

참고

@DongJun-H DongJun-H requested review from Copilot and yuni-ju May 20, 2025 12:33
@DongJun-H DongJun-H self-assigned this May 20, 2025
Copy link
Contributor

Copilot AI left a 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 rememberRipple with the new ripple API across multiple views.
  • Refactor Chip border handling and remove custom ripple theming in NoRippleIconButton.
  • Bump compileSdk/targetSdk to 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. Use def composeBom = platform('...') or apply the BOM directly in the implementation call.
Dependency composeBom = platform('androidx.compose:compose-bom:2025.05.00')

app/build.gradle Outdated
Comment on lines 29 to 31
defaultConfig {
applicationId "com.daily.dayo"
compileSdk 34
compileSdk 35
Copy link

Copilot AI May 20, 2025

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.

Copilot uses AI. Check for mistakes.
@yuni-ju
Copy link
Member

yuni-ju commented May 21, 2025

compildSdk나 targetSdkVersion을 바꿀 때마다 모듈 별로 바꿔주고 있는데,
루트 build.gradle의 ext에 공통의 변수로 함께 관리하는 것은 어떨까요?

image
compileSdk rootProject.ext.compileSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion

이런식으로 쓰면 될 것 같습니다

DongJun-H and others added 3 commits May 21, 2025 20:06
…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>
@DongJun-H
Copy link
Member Author

compildSdk나 targetSdkVersion을 바꿀 때마다 모듈 별로 바꿔주고 있는데, 루트 build.gradle의 ext에 공통의 변수로 함께 관리하는 것은 어떨까요?

image ``` compileSdk rootProject.ext.compileSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion ```

이런식으로 쓰면 될 것 같습니다

반영하였습니다

@github-project-automation github-project-automation bot moved this from Todo to In Progress in DAYO 2.0 May 21, 2025
@DongJun-H DongJun-H merged commit 00abe6d into develop May 21, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in DAYO 2.0 May 21, 2025
@DongJun-H DongJun-H deleted the refact/issue-645 branch May 21, 2025 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants