[FEATURE] Update Views-Hilt Project to API Level 34 with Gradle 8.4 #1003
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.
Description
This pull request updates the Views-Hilt project to API level 34 and uses Gradle version 8.4. The changes include updates to the AndroidManifest, build.gradle files, and some Kotlin code.
Changes
AndroidManifest.xmlto addandroid:exported="true"attribute to theTasksActivitydeclaration.TasksViewModel.ktto replaceTransformations.mapwithmapextension function.build.gradlefiles to use newer versions of dependencies, including Kotlin, Navigation, Hilt, and other libraries.multiDexEnabled truein thedefaultConfigblock of the app-levelbuild.gradleto enable multidex support.TodoApplication.ktto importBuildConfigfromandroidx.multidexpackage.Event.ktto fix the method signature foronChangedto match the interface.HiltExt.ktto useR.style.AppThemeinstead ofR.style.FragmentScenarioEmptyFragmentActivityThemeforthemeResIdparameter.Purpose
This PR aims to update the Views-Hilt project to support API level 34 and use the latest version of Gradle, enabling compatibility with newer Android features and libraries. It resolves build errors and ensures the project can be built and run successfully.
Notes
Without this PR, the Views-Hilt project is not able to build and run due to compatibility issues with API level 34 and Gradle 8.4. This PR resolves those issues and ensures the project can be built and run smoothly.