Send feedback
JavaToolchainInfo
Stay organized with collections
Save and categorize content based on your preferences.
Report an issueopen_in_new
View sourceopen_in_new
Nightly
·
8.0
·
7.5
·
7.4
·
7.3
·
7.2
Provides access to information about the Java toolchain rule. Accessible as a 'java_toolchain' field on a Target struct.
Members
bootclasspath
depset JavaToolchainInfo.bootclasspath
The Java target bootclasspath entries. Corresponds to javac's -bootclasspath flag.
ijar
FilesToRunProvider JavaToolchainInfo.ijar
A FilesToRunProvider representing the ijar executable.
jacocorunner
FilesToRunProvider JavaToolchainInfo.jacocorunner
The jacocorunner used by the toolchain.
May return
None
.
java_runtime
JavaRuntimeInfo JavaToolchainInfo.java_runtime
The java runtime information.
jvm_opt
depset JavaToolchainInfo.jvm_opt
The default options for the JVM running the java compiler and associated tools.
label
Label JavaToolchainInfo.label
The toolchain label.
proguard_allowlister
FilesToRunProvider JavaToolchainInfo.proguard_allowlister
Return the binary to validate proguard configuration
May return
None
.
single_jar
FilesToRunProvider JavaToolchainInfo.single_jar
The SingleJar deploy jar.
source_version
string JavaToolchainInfo.source_version
The java source version.
target_version
string JavaToolchainInfo.target_version
The java target version.
depset JavaToolchainInfo.tools
The compilation tools.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-03 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-03 UTC."],[],[]]