public static interface KotlinLibraryDescription.CoreArg extends JavaLibraryDescription.CoreArg
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and 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 .jar
|
default 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_HOME
|
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"
|
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.
|
getExportedDeps, getManifestFile, getMavenCoords, getMavenPomTemplate, getPostprocessClassesCommands, getProguardConfig, getResources, getResourcesRoot, getRuntimeDeps, getSourceOnlyAbiDeps, getUnbundledResourcesRootaddLegacyProcessors, 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, verifygetCompatibleWith, getDefaultTargetPlatform, getLabels, getLicenses, labelsContainsAnyOfgetNamegetRequiredForSourceOnlyAbigetDepsgetExportedProvidedDeps, getProvidedDepscom.google.common.collect.ImmutableList<String> getFreeCompilerArgs()
@Value.Default default boolean getAllWarningsAsErrors()
@Value.Default default boolean getSuppressWarnings()
@Value.Default default boolean getVerbose()
@Value.Default default boolean getIncludeRuntime()
@Value.Default default String getJvmTarget()
Optional<String> getJdkHome()
@Value.Default default boolean getNoJdk()
@Value.Default default boolean getNoStdlib()
@Value.Default default boolean getNoReflect()
@Value.Default default boolean getJavaParameters()
Optional<String> getApiVersion()
Optional<String> getLanguageVersion()
Optional<KotlinLibraryDescription.AnnotationProcessingTool> getAnnotationProcessingTool()
@Value.NaturalOrder com.google.common.collect.ImmutableSortedSet<BuildTarget> getFriendPaths()
com.google.common.collect.ImmutableList<SourcePath> getKotlincPlugins()