I am working on this IntelliJ plugin HotSwapAgent issue. I forked the code and imported it.
No matter what I do, keep having compile issues.
- The Java code can't seem to find
javax.swing.*
. - The Kotlin code can't find
java.lang.*
. - The plugin also relies on 2 devkit classes,
IdeaJdk
andSandbox
, but thedevkit
package cannot be found.
I followed the instructions for setting up my dev environment, checking out IntelliJ CE, imported the project, similar to this.
There was a library called KotlinJavaRuntime containing the following:
<component name="libraryTable">
<library name="KotlinJavaRuntime">
<CLASSES>
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-runtime.jar!/" />
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-runtime-sources.jar!/" />
</SOURCES>
</library>
</component>
I changed it to something that matches the updated Kotlin plugin, but to no avail.
All I want to do right now is get this IntelliJ Plugin out of GitHub and compile it.
Does anyone have any insight into this? Thanks!