-
Notifications
You must be signed in to change notification settings - Fork 419
Update build tooling: AndroidX migration, Gradle 8.11.1, AGP 8.2.2 #723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Amir-yazdanmanesh
wants to merge
14
commits into
OpenLauncherTeam:master
Choose a base branch
from
Amir-yazdanmanesh:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update build tooling: AndroidX migration, Gradle 8.11.1, AGP 8.2.2 #723
Amir-yazdanmanesh
wants to merge
14
commits into
OpenLauncherTeam:master
from
Amir-yazdanmanesh:master
Conversation
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
Upgrade Gradle wrapper from 6.3 to 8.11.1 and update gradle.properties with modern JVM arguments and AndroidX enablement flags.
Upgrade Android Gradle Plugin to 8.2.2, Kotlin to 1.9.22, and update SDK versions. Replace jcenter with mavenCentral and update test configuration syntax for Gradle 8 compatibility.
Replace Android Support Library with AndroidX dependencies, update library versions, and modernize build configuration for AGP 8 compatibility. Remove deprecated material-intro-screen library.
Remove material-intro-screen activity reference and update manifest configuration for modern Android requirements.
Update layout files to use androidx.* widget classes instead of android.support.* for CoordinatorLayout, CardView, RecyclerView, DrawerLayout, and other components.
Add light_status_bar_color resource for proper status bar theming.
Update opoc preference and utility classes to use AndroidX imports instead of android.support.* imports. This includes GsPreferenceFragmentCompat, LanguagePreferenceCompat, ActivityUtils, ContextUtils, PermissionChecker, and ShareUtil.
Update ColorPickerPreference, ColorPickerDialogBuilder, and AbsCustomSlider to use AndroidX imports.
Update all activity classes and homeparts to use AndroidX imports. Includes AutoFinishActivity, ColorActivity, HideAppsActivity, HomeActivity, MinibarEditActivity, MoreInfoActivity, OnBoardActivity, SettingsActivity, and homeparts helpers.
Update all settings fragment classes to use AndroidX imports including HideAppsFragment and all Settings*Fragment classes.
Update all custom widget classes to use AndroidX imports including AppDrawerGrid, AppDrawerPage, AppItemView, CellContainer, ColorPreferenceCategory, Desktop, DesktopOptionView, Dock, GroupPopupView, ItemOptionView, PagerIndicator, and SearchBar.
Update viewutil classes to use AndroidX imports including AbstractPopupIconLabelItem, DialogHelper, DrawerAppItem, IconLabelItem, PopupDynamicIconLabelItem, and PopupIconLabelItem.
Update utility classes to use AndroidX imports including AppManager, AppSettings, LauncherAction, and Tool.
Update NotificationListener to use AndroidX LocalBroadcastManager import.
Contributor
Author
|
I fotgot to assign you @gsantner |
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.
Summary
Changes
Build Configuration
build.gradle: AGP 8.2.2, Kotlin 1.9.22, modern Gradle syntaxapp/build.gradle: AndroidX dependencies, namespace declaration, updated lint/packaging configgradle.properties: AndroidX flags, updated JVM argsgradle-wrapper.properties: Gradle 8.11.1Code Migration (Support Library → AndroidX)
HomeActivity,SettingsActivity, etc.)Settings*Fragment,HideAppsFragment)Desktop,Dock,SearchBar, etc.)AppManager,Tool,DialogHelper, etc.)opoc,colorpicker)NotificationListenerserviceLayout Files
android.support.*toandroidx.*CoordinatorLayout,DrawerLayout,RecyclerView,CardView, etc.Test Plan
./gradlew clean assembleDebug)