chore: 011Y-835 - Update to Android Gradle Plugin 8.3.2 and SDK 34 #314
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.
Upgraded Android Gradle Plugin, Gradle wrapper, and dexcount plugin versions. Migrated all modules to use compileSdk 34 and targetSdk 34, added namespace declarations, and updated build configuration to match latest Gradle and Android standards. Improved build script structure and fixed deprecation warnings for Gradle tasks.
Requirements
Related issues
Describe the solution you've provided
Upgrade gradle from 7.3.3 version to 8.5.0
Additional context
I wanted to build the project to check something, but I was asked to upgrade the gradle version to 8.x.x and I thought it was a good idea to push the change.
I haven't tested it extensively since this is out of the scope of my tickets, but it seems to work correctly. @tanderson-ld check it a bit more before approve it please.
Note
Upgrade build system to Gradle 8.5/AGP 8.3.2 and migrate all modules to compile/target SDK 34 with namespace and modern Gradle/Android DSL updates, plus test/proguard tweaks and a receiver fix for Android 13+.
8.5, Android Gradle Plugin to8.3.2, dexcount to4.0.0, and Nexus Publish plugin to1.3.0.build.gradle: usebase.archivesName, centralize Android config viaBaseExtension, enable deprecation checks, and add test JVM--add-opens.compileSdk/targetSdk34, addnamespace, switch to newminSdk/compileSdkDSLs, removebuildToolsVersion.android:exportedwhere needed); switch to newpackaging { resources { excludes } }andpublishing { singleVariant("release") }.exampleandcontract-tests; excludeerror_prone_annotationsto avoid dexing issues.BroadcastReceiverwithContext.RECEIVER_NOT_EXPORTEDinAndroidPlatformState.Written by Cursor Bugbot for commit cd3320f. This will update automatically on new commits. Configure here.