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
default: []
Arguments to pass directly to javac, e.g. --javac-args='-g -deprecation'
.
Advanced options¶
tailor_source_targets
¶
--[no-]javac-tailor-source-targets
PANTS_JAVAC_TAILOR_SOURCE_TARGETS
default: True
If true, add java_sources
and java_tests
targets with the tailor
goal.
Deprecated options¶
None