Build Requirements for Pycharm

In my plugin, I'm using com.intellij.psi.PsiMethod and com.intellij.psi.PsiClass. When I target Pycharm with my alternativeIdePath and try to use my plugin, I get a NoClassDefFound error for com.intellij.psi.PsiMethod. There are 2 parts to my question:

1. Should I be using python specific psi classes or are the base com.intellij.psi classes compatible with pycharm already?

2. If I do need to include a different psi module/library, what would that look like in my build.gradle file?

My intellij section in build.gradle looks like this:

intellij {

  version '182.4505.7'

  alternativeIdePath "redacted\\Toolbox\apps\PyCharm-P\ch-0\182.4505.26"

}

Please sign in to leave a comment.