Skip to main content
Version: 2.11 (deprecated)

javac


The javac Java source compiler.

Backend: pants.backend.experimental.java

Config section: [javac]

Basic options

args

--javac-args="[<shell_str>, <shell_str>, ...]"
PANTS_JAVAC_ARGS
pants.toml
[javac]
args = [
<shell_str>,
<shell_str>,
...,
]
default: []

Arguments to pass directly to javac, e.g. --javac-args='-g -deprecation'.

Advanced options

None

Deprecated options

None

None