Skip to content

Vanilla Compiler Flags

Those flags can be redefined via their string key, or accessed programmatically via VanillaCompilerProvider.Flags:

VanillaCompilerProvider.Flags.OUTPUT_DIR // Provides Flag<Path>

FlagFlag String KeyData TypeDefault ValueDescription
COMPILER_NAMEcompiler.nameStringRead-only ucx-vanillaTake the name of the compiler.
FEATURE_ITEMfeature.itemBooleanRead-only trueSupports the item compilation.
OUTPUT_DIRconfig.output.rootPathPath.of("out")The root output directory where compiled files will be saved.
ARTIFACT_NAMEconfig.output.artifactStringvanillaThe output artifact name used to name the output folder or jar file.
REALMStarget.realmsBooleanfalseIf true, the compiler will try to comply to Realms technical restrictions.