Vanilla Compiler Flags
Built-in Flags
Section titled “Built-in Flags”Those flags can be redefined via their string key, or accessed programmatically via VanillaCompilerProvider.Flags:
VanillaCompilerProvider.Flags.OUTPUT_DIR // Provides Flag<Path>| Flag | Flag String Key | Data Type | Default Value | Description |
|---|---|---|---|---|
COMPILER_NAME | compiler.name | String | Read-only ucx-vanilla | Take the name of the compiler. |
FEATURE_ITEM | feature.item | Boolean | Read-only true | Supports the item compilation. |
OUTPUT_DIR | config.output.root | Path | Path.of("out") | The root output directory where compiled files will be saved. |
ARTIFACT_NAME | config.output.artifact | String | vanilla | The output artifact name used to name the output folder or jar file. |
REALMS | target.realms | Boolean | false | If true, the compiler will try to comply to Realms technical restrictions. |