public class KotlinConfiguredCompilerFactory extends ConfiguredCompilerFactory
Constructor and Description |
---|
KotlinConfiguredCompilerFactory(KotlinBuckConfig kotlinBuckConfig,
java.util.function.BiFunction<ToolchainProvider,TargetConfiguration,ExtraClasspathProvider> extraClasspathProviderSupplier,
JavacFactory javacFactory) |
KotlinConfiguredCompilerFactory(KotlinBuckConfig kotlinBuckConfig,
JavacFactory javacFactory) |
Modifier and Type | Method and Description |
---|---|
CompileToJarStepFactory |
configure(JvmLibraryArg args,
JavacOptions javacOptions,
ActionGraphBuilder actionGraphBuilder,
BuildRuleResolver buildRuleResolver,
TargetConfiguration targetConfiguration,
ToolchainProvider toolchainProvider) |
AbiGenerationMode |
getAbiGenerationMode() |
Optional<ExtraClasspathProvider> |
getExtraClasspathProvider(ToolchainProvider toolchainProvider,
TargetConfiguration toolchainTargetConfiguration) |
boolean |
shouldCompileAgainstAbis() |
boolean |
shouldDesugarInterfaceMethods() |
boolean |
shouldGenerateSourceAbi() |
boolean |
sourceAbiCopiesFromLibraryTargetOutput() |
addTargetDeps, getNonProvidedClasspathDeps, shouldGenerateSourceOnlyAbi, shouldMigrateToSourceOnlyAbi, trackClassUsage
public KotlinConfiguredCompilerFactory(KotlinBuckConfig kotlinBuckConfig, JavacFactory javacFactory)
public KotlinConfiguredCompilerFactory(KotlinBuckConfig kotlinBuckConfig, java.util.function.BiFunction<ToolchainProvider,TargetConfiguration,ExtraClasspathProvider> extraClasspathProviderSupplier, JavacFactory javacFactory)
public CompileToJarStepFactory configure(@Nullable JvmLibraryArg args, JavacOptions javacOptions, ActionGraphBuilder actionGraphBuilder, BuildRuleResolver buildRuleResolver, TargetConfiguration targetConfiguration, ToolchainProvider toolchainProvider)
configure
in class ConfiguredCompilerFactory
public Optional<ExtraClasspathProvider> getExtraClasspathProvider(ToolchainProvider toolchainProvider, TargetConfiguration toolchainTargetConfiguration)
getExtraClasspathProvider
in class ConfiguredCompilerFactory
public boolean shouldDesugarInterfaceMethods()
shouldDesugarInterfaceMethods
in class ConfiguredCompilerFactory
public boolean shouldCompileAgainstAbis()
shouldCompileAgainstAbis
in class ConfiguredCompilerFactory
public AbiGenerationMode getAbiGenerationMode()
getAbiGenerationMode
in class ConfiguredCompilerFactory
public boolean shouldGenerateSourceAbi()
shouldGenerateSourceAbi
in class ConfiguredCompilerFactory
public boolean sourceAbiCopiesFromLibraryTargetOutput()
sourceAbiCopiesFromLibraryTargetOutput
in class ConfiguredCompilerFactory