-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Configurable is a compile/runtime config library that allows config settings to be decentralised, centralised or a combination of both if you like. The premise behind Configurable is everything is done for you, so all you need to worry about is what you want to configure, but you can overwrite most settings if you like.
See the sidebar for documentation.
While Configurable does work with split-sources, the annotation processor has no knowledge of what a source set is so it cannot access content outside of the current source set. This means that two configs will be generated modid.json
and modid-client.json
, this also means that the generated UI for YACL will only have the options from the client
source set as the main source set cannot contain references to client-side code (ie the UI generator)
This was originally integrated as a part of BetterTrims, however, it has since been de-coupled and generalised. Feel free to view it's source for an example implementation