utopia-rise / godot-kotlin-jvm

Godot Kotlin JVM Module
MIT License
585 stars 38 forks source link

Improve gradle setup and update ide plugin #487

Closed chippmann closed 1 year ago

chippmann commented 1 year ago

Resolves #446

This improves our gradle setup by making use of jvmToolchain, gradle version catalog and convention plugins. This should yield in a consistent dev environment and reduces the places where versions need to be managed.

This also updates the ide plugin to support godot 4. All checks should work and basic refactoring support with the new registration files is working as well (only source files -> registration files not the other way around).

Note that this does not include proper java support. I migrated all of the class checks to also work with java classes to make sure that the only thing needed for fully supporting java in the ide checks are the annotators and their helper functions. All other checks still need to be adapted for java support. That said everything else is already supporting java (refactoring, class name indexing, signal connection indexing and as said all class checks and their quick fixes).

There are still a lot of improvements necessary but this PR is already huge enough and everything else can be improved later on. The goal of this PR in regards to the ide plugin was mainly to restore feature parity with what we had before godot 4.