modernize codebase#11
Open
ronellsalunke wants to merge 5 commits into
Open
Conversation
- 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>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.