godot-kotlin-jvm icon indicating copy to clipboard operation
godot-kotlin-jvm copied to clipboard

Proposal for Registration rework

Open CedNaru opened this issue 1 year ago • 0 comments

Here the list of actions as discussed with Cedric in our call:

  • No more bootstrap for the editor.
  • A single user bootstrap per project.
  • Bootstrap.kt should define 2 functions: InitLibrary() and LoadUserScripts(Jarpath: String).

  • Rework the API for registration (make manual registration easier for other languages like Scala and Clojure).
  • Get rid of Entry and Context. Instead, use a Registrar interface and search its implementations with ServiceLoader.

  • Adding gradle option to grab additionnal jars and put them in the shadow jar.
  • Adding exclude filter in the export plugin for jars.

  • Add a detection of bootstrap changes and make a prompt appear that ask the users to restart the engine.
  • Move the .gdj generation from gradle plugin to godot editor.
  • Add option to disable automatic registration (optional, enabled by default).

CedNaru avatar Oct 13 '24 16:10 CedNaru