Skip to content

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