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

Update Hilt Gradle Plugin KSP configuration to support KSP2 #4546

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

copybara-service[bot]
Copy link

Update Hilt Gradle Plugin KSP configuration to support KSP2

The plugin does per-variant / per-platform configuration by adding a CommandLineArgumentProvider to the KSP task, with KSP2 the task class is different and does not implement the KSP1 base class. This CL updates the plugin integration to find and also configure the KSP2 task.

Fixes #4303

RELNOTES=Upgrade Hilt Gradle Plugin to support KSP2 configuration.

@copybara-service copybara-service bot force-pushed the test_707986696 branch 2 times, most recently from 6962cda to 5cdb1ac Compare December 20, 2024 13:08
The plugin does per-variant / per-platform configuration by adding a CommandLineArgumentProvider to the KSP task, with KSP2 the task class is different and does not implement the KSP1 base class. This CL updates the plugin integration to find and also configure the KSP2 task.

Fixes #4303

RELNOTES=Upgrade Hilt Gradle Plugin to support KSP2 configuration.
PiperOrigin-RevId: 708292642
@copybara-service copybara-service bot merged commit 76b5819 into master Dec 20, 2024
@copybara-service copybara-service bot deleted the test_707986696 branch December 20, 2024 13:34
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.

[KSP2] Dagger and Hilt incompatibility with KSP2
1 participant