Gradle Psi file
Answered
Hello,
I want to parse build.gradle and build.gradle.kts and get a psi tree but the generated psi tree does not do much.
Is there any way to get a more informative psi tree like PSI Java or Kotlin or should I Implement Parser and PSI link?
Please sign in to leave a comment.
Hi,
What do you mean that the PSI tree "does not do much"?
As I can see for Kotlin Gradle build script, the PSI tree is rich, contains references, etc. I expect the same for the Groovy variant.
What is your use case? What are the limitations that don't allow you to achieve your goal? Please always provide the full context to avoid followup questions from our side.