public class JavaBuckConfig extends Object implements ConfigView<BuckConfig>
Modifier and Type | Class and Description |
---|---|
static class |
JavaBuckConfig.DuplicatesLogLevel
Logging level duplicates are reported at
|
static class |
JavaBuckConfig.SourceAbiVerificationMode |
static class |
JavaBuckConfig.UnusedDependenciesAction
An action that is executed when a rule that compiles Java code has unused dependencies.
|
static class |
JavaBuckConfig.UnusedDependenciesConfig
The same as
JavaBuckConfig.UnusedDependenciesAction with a couple of extra options to give greater
flexibility. |
Modifier and Type | Field and Description |
---|---|
static CommandTool |
DEFAULT_JAVA_TOOL |
static String |
PROPERTY_COMPILE_AGAINST_ABIS |
static String |
SECTION |
public static final String SECTION
public static final String PROPERTY_COMPILE_AGAINST_ABIS
public static final CommandTool DEFAULT_JAVA_TOOL
public static JavaBuckConfig of(BuckConfig delegate)
public BuckConfig getDelegate()
getDelegate
in interface ConfigView<BuckConfig>
public JavaOptions getDefaultJavaOptions()
public JavaOptions getDefaultJavaOptionsForTests()
public JavacLanguageLevelOptions getJavacLanguageLevelOptions()
public JavacOptions getDefaultJavacOptions(TargetConfiguration targetConfiguration)
public AbiGenerationMode getAbiGenerationMode()
public com.google.common.collect.ImmutableSet<String> getSrcRoots()
public DefaultJavaPackageFinder createDefaultJavaPackageFinder()
public boolean trackClassUsage(TargetConfiguration targetConfiguration)
public boolean shouldDesugarInterfaceMethods()
public JavacSpec getJavacSpec(TargetConfiguration targetConfiguration)
public boolean shouldCacheBinaries()
public OptionalInt getDxThreadCount()
public JavaBuckConfig.SourceAbiVerificationMode getSourceAbiVerificationMode()
getAbiGenerationMode()
is one of the source modes.public boolean shouldCompileAgainstAbis()
public JavaBuckConfig.UnusedDependenciesConfig getUnusedDependenciesAction()
public boolean isUnusedDependenciesOnlyPrintCommands()
public Level getDuplicatesLogLevel()