LibJF/docs/config/libjf-config-compiler-plugi...

651 B

libjf-config-compiler-plugin

This gradle plugin provides a task that identifies any config files in a jar and produces the necessary code and registration for it. Using this is the recommended way to use libjf-config. Please be aware that the restrictions of the reflection implementation in regard to class loading will also apply to configs using the plugin if it is loaded during runtime.

Using the reflection implementation as modRuntimeLocal is also recommended since the compiler plugin will be unable to affect loom dev envs otherwise.

The code necessary for using this plugin is available here