Bundle Licenses
Sysand Index requires all projects to provide a SPDX license expression in the
license field of .project.json and associated license files under a
LICENSES/ directory. SPDX provides standard license identifiers such as MIT
and Apache-2.0; REUSE provides the convention for including the matching
license texts under LICENSES/.
When you run sysand build, the relevant files under LICENSES/ are
automatically packaged with the built .kpar file, or a warning is emitted.
Name each file after the identifier it covers:
{
"license": "MIT OR Apache-2.0"
}project-directory/
.project.json
.meta.json
LICENSES/
MIT.txt
Apache-2.0.txtUse the same rule for WITH exceptions and custom LicenseRef- identifiers:
GPL-2.0-only WITH Classpath-exception-2.0 needs
LICENSES/GPL-2.0-only.txt and LICENSES/Classpath-exception-2.0.txt;
LicenseRef-MyCustom needs LICENSES/LicenseRef-MyCustom.txt.