Skip to content

Feature/upgrade dependencies for gradle9#79

Open
oooRikOooo wants to merge 9 commits intomasterfrom
feature/upgrade-dependencies-for-gradle9
Open

Feature/upgrade dependencies for gradle9#79
oooRikOooo wants to merge 9 commits intomasterfrom
feature/upgrade-dependencies-for-gradle9

Conversation

@oooRikOooo
Copy link
Copy Markdown
Contributor

  • Migrate from RxJava2 and Gson to Kotlin Coroutines and kotlinx.serialization
  • Update dependencies (Room, Billing-Ktx, etc.)
  • Upgrade AGP 8.7.2 → 8.9.1, Gradle 8.9 → 8.11.1
  • Fix PurchasesMapperTest to match existing mapper behavior (skip purchases with null orderId or empty products list)
  • Bump SDK version to 1.9.0-RC1

- Update Kotlin to 2.2.0
- Update Coroutines, AndroidX, Room, Lifecycle, Dagger, OkHttp, Firebase, and testing libraries to latest versions
- Remove deprecated `lifecycleCompiler` and `rxBinding`
- Replace deprecated `toUpperCase()` with `uppercase()`
…alization

This commit removes RxJava and Gson dependencies in favor of Kotlin Coroutines and Kotlinx Serialization.

Key changes include:
- Replaced all RxJava streams (`Single`, `Completable`, `Maybe`) with `suspend` functions across the data and domain layers.
- Migrated all data models from Gson's `@SerializedName` to Kotlinx Serialization's `@Serializable` and `@SerialName`.
- Updated Retrofit configuration to use `kotlinx-serialization-converter` instead of `gson-converter` and removed the RxJava call adapter.
- Updated Room DAO methods to be `suspend` functions and replaced `room-rxjava2` with `room-ktx`.
- Replaced Room's `kapt` with `ksp`.
- Removed the `domain/utils/rx` package which contained RxJava helpers.
- Refactored repositories and use cases to use coroutine-based asynchronous patterns.
- Updated tests to use `runTest` instead of relying on RxJava schedulers.
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.

2 participants