isXander / YetAnotherConfigLib

YetAnotherConfigLib (yacl) is just that. A builder-based configuration library for Minecraft.
GNU Lesser General Public License v3.0
98 stars 40 forks source link

Split config API into a separate module #49

Closed isXander closed 1 year ago

isXander commented 1 year ago

Why?

I have seen many mods want to make YACL an optional dependency so if the user decides they want to configure with a GUI, they can, if not, they will configure with the config file. This prevents the mod author from utilising YACL's config API, because it is in the same jar.

How it would work.

YACL would be split into two modules: gui and config. GUI would depend on the config module and the mod jar would publish with both modules.

Other benefits.

This will also allow for #41 because split sourcesets will no longer be needed.