google / google/ksp

Support Gradle Problems API for errors and warnings

Open
#2,504 2 comments 3 reactions 0 assignees View on GitHub
Gradle
Dominant language
Kotlin
Stars
3.5k
Forks
415
Avg merge
1d 2h
Merged PRs (30d)
53

Description

Recent Gradle provides [Problems API](https://docs.gradle.org/current/samples/sample_problems_api_usage.html) to tell details of errors or warnings, and easy to interact with IDE ( https://youtrack.jetbrains.com/issue/IDEA-352280 ) or CI systems ( https://github.com/gradle/actions/issues/30 ).

And since Kotlin 2.2, [compiler and gradle plugin support it](https://kotlinlang.org/docs/whatsnew22.html#integration-of-problems-api-within-kgp-diagnostics).

I'm guessing KSP (gradle plugin) is also assuming that it will have to provide equivalent functionality.

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked Gradle Problems API sample and Kotlin 2.2 diagnostics integration notes, then inspect the KSP Gradle plugin area mentioned in the issue. Define how KSP errors and warnings should be exposed through the API and verify that IDE or CI consumers receive the expected problem details.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.