Skip to main content
Version: 2.10 (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: []

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

Advanced options

None

Deprecated options

None

None