You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Update to Android Gradle Plugin 8.3.2 and SDK 34 (#314)
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**
- [ ] I have added test coverage for new or changed functionality
- [ ] I have followed the repository's [pull request submission
guidelines](../blob/main/CONTRIBUTING.md#submitting-pull-requests)
- [ ] I have validated my changes against all supported platform
versions
**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.
<!-- CURSOR_SUMMARY -->
---
> [!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+.
>
> - **Build system**:
> - Upgrade Gradle wrapper to `8.5`, Android Gradle Plugin to `8.3.2`,
dexcount to `4.0.0`, and Nexus Publish plugin to `1.3.0`.
> - Refactor root `build.gradle`: use `base.archivesName`, centralize
Android config via `BaseExtension`, enable deprecation checks, and add
test JVM `--add-opens`.
> - **Android SDK/config**:
> - Migrate all modules to `compileSdk`/`targetSdk` `34`, add
`namespace`, switch to new `minSdk`/`compileSdk` DSLs, remove
`buildToolsVersion`.
> - Update manifests and activities (add `android:exported` where
needed); switch to new `packaging { resources { excludes } }` and
`publishing { singleVariant("release") }`.
> - **Javadoc & publishing**:
> - Rewrite Javadoc/sources tasks using lazy task registration; add
Android boot classpath and BuildConfig generation deps; update artifact
publication to new APIs.
> - **Testing & dependencies**:
> - Bump AndroidX test libraries and orchestrator; add ProGuard rules in
`example` and `contract-tests`; exclude `error_prone_annotations` to
avoid dexing issues.
> - **Runtime**:
> - On Android 13+, register connectivity `BroadcastReceiver` with
`Context.RECEIVER_NOT_EXPORTED` in `AndroidPlatformState`.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
cd3320f. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
0 commit comments