Hey! These docs are for version 2.10, which is no longer officially supported. Click here for the latest version, 2.13!

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: []

Global javac compiler flags, e.g. --javac-args='-g -deprecation'.


Advanced options

None

Deprecated options

None


Did this page help you?