Skip to content

modernize codebase#11

Open
ronellsalunke wants to merge 5 commits into
SphericalKat:developfrom
ronellsalunke:develop
Open

modernize codebase#11
ronellsalunke wants to merge 5 commits into
SphericalKat:developfrom
ronellsalunke:develop

Conversation

@ronellsalunke

Copy link
Copy Markdown
Collaborator

No description provided.

- Update Gradle wrapper to 8.9 and Android Gradle Plugin to 8.7.3
- Upgrade `compileSdk` and `targetSdk` to 36
- Update Java and Kotlin JVM target to 17
- Update core dependencies: Kotlin (1.9.24), Hilt (2.51.1), Compose (1.6.8), and Room (2.6.1)
- Remove deprecated `jcenter()` repository
- Explicitly enable `buildConfig` and set `namespace` in app `build.gradle`
- Refactor `clean` task using `tasks.register` and modern layout API
- Convert `build.gradle`, `app/build.gradle`, and `settings.gradle` to Kotlin DSL (`.kts`)
- Centralize dependencies and plugin management in `gradle/libs.versions.toml`
- Implement Compose BOM for consistent Compose dependency versioning
- Remove the `package` attribute from `AndroidManifest.xml` in favor of the Gradle `namespace` property
- Update Gradle to 9.1.0, AGP to 9.0.1, and Kotlin to 2.3.10
- Upgrade Compose BOM to 2026.03.00 and various AndroidX dependencies (Core, Lifecycle, Navigation)
- Migrate from Accompanist libraries to native Coil and Compose equivalents
- Introduce KSP plugin and migrate Room compiler from kapt to KSP
- Add Kotlin Compose compiler plugin and set Kotlin language version to 2.0
- Bump `minSdk` to 24
- Replace `markwon-image-coil` with `markwon-image`
- Add `moshi-kotlin` dependency and update Retrofit and OkHttp versions

Signed-off-by: Ronell Salunke <ronell1292k@gmail.com>
- Replace `accompanist-insets` and `systemuicontroller` with native `enableEdgeToEdge` and `WindowInsets` APIs
- Replace `accompanist-swiperefresh` with Material `PullRefresh`
- Migrate from `accompanist-coil` to `coil-compose` (`rememberAsyncImagePainter`)
- Update `Markwon` configuration to use `ImagesPlugin` with `OkHttpNetworkSchemeHandler` instead of `CoilImagesPlugin`
- Configure `Moshi` with `KotlinJsonAdapterFactory` and inject it into `Retrofit`
- Update `Icons` to use `AutoMirrored` variants where appropriate
- Refactor `MainActivity` to use modern `WindowInsetsController` for system bar styling
- Improve `AuthActivity` by using `toUri()` extension and removing redundant null checks on `onNewIntent`

Signed-off-by: Ronell Salunke <ronell1292k@gmail.com>
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