public class ScalaConfiguredCompilerFactory extends ConfiguredCompilerFactory
Constructor and Description |
---|
ScalaConfiguredCompilerFactory(ScalaBuckConfig config,
java.util.function.BiFunction<ToolchainProvider,TargetConfiguration,ExtraClasspathProvider> extraClasspathProviderSupplier,
JavacFactory javacFactory) |
ScalaConfiguredCompilerFactory(ScalaBuckConfig config,
JavacFactory javacFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addTargetDeps(TargetConfiguration targetConfiguration,
com.google.common.collect.ImmutableCollection.Builder<BuildTarget> extraDepsBuilder,
com.google.common.collect.ImmutableCollection.Builder<BuildTarget> targetGraphOnlyDepsBuilder) |
CompileToJarStepFactory |
configure(JvmLibraryArg arg,
JavacOptions javacOptions,
ActionGraphBuilder actionGraphBuilder,
BuildRuleResolver buildRuleResolver,
TargetConfiguration targetConfiguration,
ToolchainProvider toolchainProvider) |
Optional<ExtraClasspathProvider> |
getExtraClasspathProvider(ToolchainProvider toolchainProvider,
TargetConfiguration toolchainTargetConfiguration) |
void |
getNonProvidedClasspathDeps(TargetConfiguration targetConfiguration,
java.util.function.Consumer<BuildTarget> depsConsumer) |
getAbiGenerationMode, shouldCompileAgainstAbis, shouldDesugarInterfaceMethods, shouldGenerateSourceAbi, shouldGenerateSourceOnlyAbi, shouldMigrateToSourceOnlyAbi, sourceAbiCopiesFromLibraryTargetOutput, trackClassUsage
public ScalaConfiguredCompilerFactory(ScalaBuckConfig config, JavacFactory javacFactory)
public ScalaConfiguredCompilerFactory(ScalaBuckConfig config, java.util.function.BiFunction<ToolchainProvider,TargetConfiguration,ExtraClasspathProvider> extraClasspathProviderSupplier, JavacFactory javacFactory)
public CompileToJarStepFactory configure(@Nullable JvmLibraryArg arg, 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 void addTargetDeps(TargetConfiguration targetConfiguration, com.google.common.collect.ImmutableCollection.Builder<BuildTarget> extraDepsBuilder, com.google.common.collect.ImmutableCollection.Builder<BuildTarget> targetGraphOnlyDepsBuilder)
addTargetDeps
in class ConfiguredCompilerFactory
public void getNonProvidedClasspathDeps(TargetConfiguration targetConfiguration, java.util.function.Consumer<BuildTarget> depsConsumer)
getNonProvidedClasspathDeps
in class ConfiguredCompilerFactory