Skip to main content
Provides access to information about the Java toolchain rule. Accessible as a ‘java_toolchain’ field on a Target struct.

Members

bootclasspath

The Java target bootclasspath entries. Corresponds to javac’s -bootclasspath flag.

ijar

A FilesToRunProvider representing the ijar executable.

jacocorunner

The jacocorunner used by the toolchain. May return None.

java_runtime

The java runtime information.

jvm_opt

The default options for the JVM running the java compiler and associated tools.

label

The toolchain label.

proguard_allowlister

Return the binary to validate proguard configuration May return None.

single_jar

The SingleJar deploy jar.

source_version

The java source version.

target_version

The java target version.

tools

The compilation tools.