java/CONTRIBUTING.md
nullishamy 36240ecb18
feat!: auto-generate from palette.json (#3)
This commit rewrites the library to be generated from
the palette.json which acts as a source of truth.

The project is now a multi-module maven project, with
the "processing" module responsible for generating the
code used in the "palette" module. Both modules will be
published to Maven Central and available as separate
JARs.

Co-authored-by: sgoudham <sgoudham@gmail.com>
2024-05-18 03:17:27 +01:00

585 B

Project layout

This project uses the Maven Multi Module system to build the various modules. There is the main module, the palette, which depends on the secondary module 'processing', to do the code generation based on our palette.json. The multi module system is used as it is the easiest way to get our processing module to build at the same time, and then get used by, the palette module. This also has the benefit of allowing us to publish the processing module independently.

The palette.json is vendored for simplicity, and must be manually updated if/when it changes.