chore: 011Y-835 - Update to Android Gradle Plugin 8.3.2 and SDK 34#314
Merged
agrognetti merged 3 commits intomainfrom Dec 2, 2025
Merged
chore: 011Y-835 - Update to Android Gradle Plugin 8.3.2 and SDK 34#314agrognetti merged 3 commits intomainfrom
agrognetti merged 3 commits intomainfrom
Conversation
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.
Added ProGuard rules to contract-tests and example modules to suppress warnings for error-prone annotations. Improved build.gradle files to support reflection for tests and enhanced Javadoc generation with proper boot classpath handling. Cleaned up AndroidManifest.xml files by removing explicit package attributes.
…d 13+ - remove obsolete package attribute from androidTest manifest (namespace comes from Gradle) - register connectivity broadcast receiver with RECEIVER_NOT_EXPORTED on API 33+ - bump AndroidX test/orchestrator deps to 1.5.x/1.4.2 to satisfy receiver export requirement
tanderson-ld
reviewed
Dec 1, 2025
...rkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/AndroidPlatformState.java
Show resolved
Hide resolved
tanderson-ld
approved these changes
Dec 2, 2025
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.
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.