- Download and install IntelliJ
- Enable the Gradle plugin
- Install and enable the Kotlin plugin
- Install and enable the "Plugin DevKit" plugin
- Install and enable the "Grammar-Kit" plugin
git clone https://github.com/BlueBoxWare/LibGDXPlugin.git
- Import the project: "File" -> "New" -> "Project from Existing Sources" and select the
build.gradle
file from the project.- In the import dialog select "Use gradle wrapper task configuration"
- Wait while Gradle and the gradle-intellij-plugin work their magic. This can take a while..
- When you get a popup saying "Frameworks detected: Android framework is detected in the project", do not configure it but ignore and close the popup
- When you get a popup saying "The modules below are not imported from Gradle anymore" leave the item(s) selected to remove them and click "Oke"
- Open gradle.properties and make sure isAndroidStudio is set to false:
isAndroidStudio=false
To run IntelliJ with the plugin enabled from sources, start the "RunIde" gradle task: open the Gradle window, choose "Tasks" -> "intellij" and double click on "RunIde".
Make sure the plugin works when you run it as described above.
To build the plugin, run the "buildPlugin" gradle task. This creates a zip file in the "build/distributions" directory. You can install the plugin in IntelliJ or
Android Studio by choosing "Install plugin from disk" in the Plugin Settings.
TBD