google / google/ksp

Provide KSP Plugin API to expose KSP task names for other plugins

Open
#2,083 4 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.