Skip to content
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

Upgrade Hilt Gradle Plugin min AGP version to 8.1 #4462

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

Upgrade Hilt Gradle Plugin min AGP version to 8.1

This change upgrades the required AGP in the Hilt Gradle Plugin and in turn cleans up the code no longer relevant due to the upgrade. As of September 2024 the target SDK for apps in the play store is 34 and the minimum AGP that supports target SDK 34 is 8.1.1 hence why such version chosen.

  • Remove the AGP abstraction an implementations from the plugin, we can now use Variant Component and ASM Transform APIs directly.
  • AGP 8.1 requires Gradle 8.0 which in turns requires JDK 17, used jvmToolchain API where possible.
  • AGP 8.1 requires minimum Android build tools of 33.0.1.
  • AGP 8.1 requires Android projects to have their 'namespace' set.
  • Update GitHub CI test matrix, removing older AGP values.

RELNOTES=Upgrade Hilt Gradle Plugin min AGP version to 8.1

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.

0 participants