java
Stay organized with collections
Save and categorize content based on your preferences.
A java compiler configuration.
Members
default_javac_flags
list java.default_javac_flags
The default flags for the Java compiler.
default_jvm_opts
list java.default_jvm_opts
Additional options to pass to the Java VM for each java_binary target
disallow_java_import_empty_jars
bool java.disallow_java_import_empty_jars()
Returns true if empty java_import jars are not allowed.
multi_release_deploy_jars
bool java.multi_release_deploy_jars
The value of the --incompatible_multi_release_deploy_jars flag.
one_version_enforcement_level
string java.one_version_enforcement_level
The value of the --experimental_one_version_enforcement flag.
plugins
list java.plugins
A list containing the labels provided with --plugins, if any.
run_android_lint
bool java.run_android_lint
The value of the --experimental_run_android_lint_on_java_rules flag.
strict_java_deps
string java.strict_java_deps
The value of the strict_java_deps flag.
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 2024-07-11 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-07-11 UTC."}
[[["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 2024-07-11 UTC."],[],[]]