Provide KSP Plugin API to expose KSP task names for other plugins
Open
feature request
Gradle
P3
- Dominant language
- Kotlin
- Stars
- 3.5k
- Forks
- 415
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 53
Description
In the Room Gradle Plugin we pass annotation processor options based on the Android variant target or KMP target and we do that by [finding the corresponding KSP task of the Android variant or Kotlin Compile task](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:room/room-gradle-plugin/src/main/java/androidx/room/gradle/integration/KotlinMultiplatformPluginIntegration.kt;l=111) using the same naming strategy as KSP. But this can be brittle and break Room if one day the KSP plugin decides to use a different naming convention. It would be nice if the KSP Plugin offered a small API with the naming convention used.
Contributor guide
Assessment
This issue has not been assessed yet.