public class ExternalKotlinc extends Object implements Kotlinc, AddsToRuleKey
Constructor and Description |
---|
ExternalKotlinc(Path pathToKotlinc) |
Modifier and Type | Method and Description |
---|---|
int |
buildWithClasspath(ExecutionContext context,
BuildTarget invokingRule,
com.google.common.collect.ImmutableList<String> options,
com.google.common.collect.ImmutableSortedSet<Path> kotlinSourceFilePaths,
Path pathToSrcsList,
Optional<Path> workingDirectory,
ProjectFilesystem projectFilesystem) |
com.google.common.collect.ImmutableList<Path> |
getAdditionalClasspathEntries(SourcePathResolverAdapter sourcePathResolverAdapter) |
Path |
getAnnotationProcessorPath(SourcePathResolverAdapter sourcePathResolverAdapter) |
com.google.common.collect.ImmutableList<String> |
getCommandPrefix(SourcePathResolverAdapter resolver) |
String |
getDescription(com.google.common.collect.ImmutableList<String> options,
com.google.common.collect.ImmutableSortedSet<Path> kotlinSourceFilePaths,
Path pathToSrcsList) |
com.google.common.collect.ImmutableMap<String,String> |
getEnvironment(SourcePathResolverAdapter resolver) |
String |
getShortName() |
Path |
getStdlibPath(SourcePathResolverAdapter sourcePathResolverAdapter) |
com.facebook.buck.jvm.kotlin.KotlincVersion |
getVersion() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpandedSourcePaths
public ExternalKotlinc(Path pathToKotlinc)
public com.google.common.collect.ImmutableList<String> getCommandPrefix(SourcePathResolverAdapter resolver)
getCommandPrefix
in interface Tool
public com.facebook.buck.jvm.kotlin.KotlincVersion getVersion()
getVersion
in interface Kotlinc
public int buildWithClasspath(ExecutionContext context, BuildTarget invokingRule, com.google.common.collect.ImmutableList<String> options, com.google.common.collect.ImmutableSortedSet<Path> kotlinSourceFilePaths, Path pathToSrcsList, Optional<Path> workingDirectory, ProjectFilesystem projectFilesystem) throws InterruptedException
buildWithClasspath
in interface Kotlinc
InterruptedException
public String getDescription(com.google.common.collect.ImmutableList<String> options, com.google.common.collect.ImmutableSortedSet<Path> kotlinSourceFilePaths, Path pathToSrcsList)
getDescription
in interface Kotlinc
public String getShortName()
getShortName
in interface Kotlinc
public Path getAnnotationProcessorPath(SourcePathResolverAdapter sourcePathResolverAdapter)
getAnnotationProcessorPath
in interface Kotlinc
public Path getStdlibPath(SourcePathResolverAdapter sourcePathResolverAdapter)
getStdlibPath
in interface Kotlinc
public com.google.common.collect.ImmutableList<Path> getAdditionalClasspathEntries(SourcePathResolverAdapter sourcePathResolverAdapter)
getAdditionalClasspathEntries
in interface Kotlinc
public com.google.common.collect.ImmutableMap<String,String> getEnvironment(SourcePathResolverAdapter resolver)
getEnvironment
in interface Tool