Migrate project to AndroidX libraries #362
Merged
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.
Issue #, if available:
#201
Description of changes:
Task
AndroidX has been released a few years ago and most apps have already migrated to use AndroidX libraries.
Currently, many apps have already updated most of their dependencies to newer versions that use AndroidX and want to remove the AndroidX Jetifier process from their build to improve build performance.
The AndroidX Jetifier has performance issues and it's not cachable. It needs to process all dependencies regardless if they were migrated to AndroidX or not. So, this adds significant build time for large projects.
Solution
Migrate to AndroidX - update dependencies and imports from
android.support
toandroidx
package using Android Studio's automated refactoring and some manual adjustments.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.