Where to get Kotlin Psi dependent library?
Where to get Kotlin Psi dependent library?
I am looking into writing some IntelliJ plugin for Kotlin.
I see that there org.jetbrains.kotlin.psi.* from the code
https://github.com/JetBrains/kotlin/blob/master/idea/src/org/jetbrains/kotlin/idea/inspections/LeakingThisInspection.kt
org.jetbrains.kotlin.psi.*
But I don't know what dependent to add (to my build.gradle) to access the Kotlin psi?
psi
1 Answer
1
I use the below dependent, and it works.
implementation"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Where $kotlin_version is 1.2.50
$kotlin_version
1.2.50
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.