Package com.facebook.buck.jvm.kotlin
Interface KotlinLibraryDescription.CoreArg
-
- All Superinterfaces:
BuildRuleArg
,ConstructorArg
,DataTransferObject
,HasDeclaredDeps
,HasProvidedDeps
,HasSrcs
,HasTests
,JavaLibraryDescription.CoreArg
,JvmLibraryArg
,MaybeRequiredForSourceOnlyAbiArg
- All Known Subinterfaces:
AndroidKotlinCoreArg
,AndroidLibraryDescription.CoreArg
- All Known Implementing Classes:
AndroidAarDescriptionArg
,AndroidLibraryDescriptionArg
,KotlinLibraryDescriptionArg
,KotlinTestDescriptionArg
,RobolectricTestDescriptionArg
- Enclosing class:
- KotlinLibraryDescription
public static interface KotlinLibraryDescription.CoreArg extends JavaLibraryDescription.CoreArg
-
-
Field Summary
-
Fields inherited from interface com.facebook.buck.core.description.arg.BuildRuleArg
DEFAULT_TARGET_PLATFORM_PARAM_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
getAllWarningsAsErrors()
Report an error if there are any warnings.Optional<KotlinLibraryDescription.AnnotationProcessingTool>
getAnnotationProcessingTool()
Optional<String>
getApiVersion()
Allow to use declarations only from the specified version of bundled libraries.com.google.common.collect.ImmutableList<String>
getFreeCompilerArgs()
A list of additional compiler arguments.com.google.common.collect.ImmutableSortedSet<BuildTarget>
getFriendPaths()
default boolean
getIncludeRuntime()
Include Kotlin runtime in to resulting .jardefault boolean
getJavaParameters()
Generate metadata for Java 1.8 reflection on method parameters.Optional<String>
getJdkHome()
Path to JDK home directory to include into classpath, if differs from default JAVA_HOMEdefault String
getJvmTarget()
Target version of the generated JVM bytecode (1.6 or 1.8), default is 1.6 Possible values: "1.6", "1.8"com.google.common.collect.ImmutableMap<String,String>
getKaptApOptions()
com.google.common.collect.ImmutableList<SourcePath>
getKotlincPlugins()
Optional<String>
getLanguageVersion()
Provide source compatibility with specified language version.default boolean
getNoJdk()
Don't include Java runtime into classpath.default boolean
getNoReflect()
Don't include kotlin-reflect.jar into classpath.default boolean
getNoStdlib()
Don't include kotlin-stdlib.jar or kotlin-reflect.jar into classpath.default boolean
getSuppressWarnings()
Generate no warnings.default boolean
getVerbose()
Enable verbose logging output.-
Methods inherited from interface com.facebook.buck.core.description.arg.BuildRuleArg
getCompatibleWith, getDefaultTargetPlatform, getLabels, getLicenses, labelsContainsAnyOf
-
Methods inherited from interface com.facebook.buck.core.description.arg.ConstructorArg
getName
-
Methods inherited from interface com.facebook.buck.core.description.arg.HasDeclaredDeps
getDeps
-
Methods inherited from interface com.facebook.buck.core.description.arg.HasProvidedDeps
getExportedProvidedDeps, getProvidedDeps
-
Methods inherited from interface com.facebook.buck.jvm.java.JavaLibraryDescription.CoreArg
getExportedDeps, getManifestFile, getMavenCoords, getMavenPomTemplate, getPostprocessClassesCommands, getProguardConfig, getResources, getResourcesRoot, getRuntimeDeps, getSourceOnlyAbiDeps, getUnbundledResourcesRoot
-
Methods inherited from interface com.facebook.buck.jvm.java.JvmLibraryArg
addLegacyProcessors, addPlugins, buildJavaAnnotationProcessorParams, buildStandardJavacParams, getAbiGenerationMode, getAnnotationProcessorDeps, getAnnotationProcessorOnly, getAnnotationProcessorParams, getAnnotationProcessors, getCompileAgainst, getCompiler, getCompilerClassName, getExtraArguments, getJavac, getJavacJar, getJavacSpec, getJavaPluginParams, getJavaVersion, getNeverMarkAsUnusedDependency, getOnUnusedDependencies, getPlugins, getPluginsOf, getRemoveClasses, getSource, getSourceAbiVerificationMode, getTarget, hasJavacSpec, isValidJavacJar, verify
-
Methods inherited from interface com.facebook.buck.jvm.java.MaybeRequiredForSourceOnlyAbiArg
getRequiredForSourceOnlyAbi
-
-
-
-
Method Detail
-
getFreeCompilerArgs
com.google.common.collect.ImmutableList<String> getFreeCompilerArgs()
A list of additional compiler arguments.
-
getAllWarningsAsErrors
@Default default boolean getAllWarningsAsErrors()
Report an error if there are any warnings.
-
getSuppressWarnings
@Default default boolean getSuppressWarnings()
Generate no warnings.
-
getVerbose
@Default default boolean getVerbose()
Enable verbose logging output.
-
getIncludeRuntime
@Default default boolean getIncludeRuntime()
Include Kotlin runtime in to resulting .jar
-
getJvmTarget
@Default default String getJvmTarget()
Target version of the generated JVM bytecode (1.6 or 1.8), default is 1.6 Possible values: "1.6", "1.8"
-
getJdkHome
Optional<String> getJdkHome()
Path to JDK home directory to include into classpath, if differs from default JAVA_HOME
-
getNoJdk
@Default default boolean getNoJdk()
Don't include Java runtime into classpath.
-
getNoStdlib
@Default default boolean getNoStdlib()
Don't include kotlin-stdlib.jar or kotlin-reflect.jar into classpath.
-
getNoReflect
@Default default boolean getNoReflect()
Don't include kotlin-reflect.jar into classpath.
-
getJavaParameters
@Default default boolean getJavaParameters()
Generate metadata for Java 1.8 reflection on method parameters.
-
getApiVersion
Optional<String> getApiVersion()
Allow to use declarations only from the specified version of bundled libraries. Possible values: "1.0", "1.1", "1.2", "1.3", "1.4".
-
getLanguageVersion
Optional<String> getLanguageVersion()
Provide source compatibility with specified language version. Possible values: "1.0", "1.1", "1.2", "1.3", "1.4".
-
getAnnotationProcessingTool
Optional<KotlinLibraryDescription.AnnotationProcessingTool> getAnnotationProcessingTool()
-
getFriendPaths
@NaturalOrder com.google.common.collect.ImmutableSortedSet<BuildTarget> getFriendPaths()
-
getKotlincPlugins
com.google.common.collect.ImmutableList<SourcePath> getKotlincPlugins()
-
-