Skip to content

Conversation

@coreyphillips
Copy link

Summary

  • Upgrades Gradle from 7.4 to 8.5
  • Upgrades Android Gradle Plugin from 7.2.1 to 8.1.4
  • Migrates to AGP 8.x namespace configuration
  • Removes deprecated jcenter() repository
  • Bumps version to 2.7.0

Motivation

The library was failing to build with modern JDK versions (JDK 17+) due to outdated Gradle tooling. The old Gradle version (7.4) and Android Gradle Plugin (7.2.1) used deprecated APIs like IncrementalTaskInputs that are no longer supported in Gradle 8.x+, which is required by newer JDKs.

Changes

  1. Android Gradle Plugin: Updated from 7.2.1 to 8.1.4 for compatibility with Gradle 8.5
  2. Gradle Wrapper: Updated from 7.4 to 8.5 to support JDK 17-24
  3. Namespace Migration: Moved package declaration from AndroidManifest.xml to build.gradle as required by AGP 8.x
  4. Repository Cleanup: Removed deprecated jcenter() repository reference
  5. Gradle Scripts: Updated wrapper scripts and JAR to Gradle 8.5 versions

Testing

  • ✅ Builds successfully with JDK 24
  • ✅ Gradle sync completes without errors
  • ✅ No breaking API changes for library consumers

Compatibility

  • Minimum Gradle: 8.5
  • Minimum JDK: 17
  • Android Gradle Plugin: 8.1.4
  • No changes to library API or runtime behavior

Update Android build configuration to support JDK 17+ environments:
- Upgrade Android Gradle Plugin from 7.2.1 to 8.1.4
- Upgrade Gradle wrapper from 7.4 to 8.5
- Migrate package declaration from AndroidManifest.xml to build.gradle namespace
- Remove deprecated jcenter() repository
- Update Gradle wrapper scripts and JAR
- Bumps version to 2.7.0 in package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant