-
- All Implemented Interfaces:
-
kotlin.Comparable,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.IConventionAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.api.tasks.util.PatternFilterable,org.gradle.util.Configurable,org.jetbrains.kotlin.gradle.dsl.KotlinCompile
@CacheableTask() public class KotlinNativeCompile extends AbstractKotlinNativeCompile<KotlinCommonOptions, KotlinNativeCompilationData<?>> implements KotlinCompile<KotlinCommonOptions>
A task producing a klibrary from a compilation.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description KotlinNativeCompile(KotlinNativeCompilationData<?> compilation)
-
Method Summary
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile
getClasspath, getSource, kotlinOptions, setClasspath -
Methods inherited from class org.gradle.api.internal.ConventionTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class org.gradle.api.DefaultTask
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects -
Methods inherited from class org.gradle.api.tasks.SourceTask
conventionMapping, conventionMapping, getConventionMapping -
Methods inherited from class org.gradle.api.tasks.compile.AbstractCompile
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSetFactory, include, include, include, include, setExcludes, setIncludes, setSource, setSource, source -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.AbstractKotlinNativeCompile
getDestinationDir, getDestinationDirectory, getSourceCompatibility, getTargetCompatibility, setDestinationDir, setDestinationDir, setSourceCompatibility, setTargetCompatibility -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
KotlinNativeCompile
KotlinNativeCompile(KotlinNativeCompilationData<?> compilation)
-
-
Method Detail
-
getOutputKind
@Input() CompilerOutputKind getOutputKind()
-
getOptimized
@Input() Boolean getOptimized()
-
getDebuggable
@Input() Boolean getDebuggable()
-
getBaseName
@Internal() String getBaseName()
-
getModuleName
@Input() final String getModuleName()
-
getOutputFile
@OutputFile() Provider<File> getOutputFile()
-
getShortModuleName
@Input() final String getShortModuleName()
-
getCommonSources
@Internal() final ConfigurableFileCollection getCommonSources()
-
getLanguageVersion
@Optional()@Input() final String getLanguageVersion()
-
getApiVersion
@Optional()@Input() final String getApiVersion()
-
getEnabledLanguageFeatures
@Input() final Set<String> getEnabledLanguageFeatures()
-
getOptInAnnotationsInUse
@Input() final Set<String> getOptInAnnotationsInUse()
-
getKotlinOptions
KotlinCommonOptions getKotlinOptions()
-
getAdditionalCompilerOptions
@Input() Provider<Collection<String>> getAdditionalCompilerOptions()
-
getCompilation
final KotlinNativeCompilationData<?> getCompilation()
-
getLibraries
@Classpath() final FileCollection getLibraries()
-
getLanguageSettings
@Internal() final LanguageSettings getLanguageSettings()
-
getProgressiveMode
@Input() final Boolean getProgressiveMode()
-
getEnableEndorsedLibs
@Input() final Boolean getEnableEndorsedLibs()
-
getKotlinNativeVersion
@Input() final String getKotlinNativeVersion()
-
getCompilerPluginOptions
final CompilerPluginOptions getCompilerPluginOptions()
-
getCompilerPluginCommandLine
@Input() final List<String> getCompilerPluginCommandLine()
-
getCompilerPluginClasspath
FileCollection getCompilerPluginClasspath()
-
setCompilerPluginClasspath
Unit setCompilerPluginClasspath(@Optional() @Classpath() FileCollection compilerPluginClasspath)
-
getKotlinPluginData
@Optional() final Provider<KotlinCompilerPluginData> getKotlinPluginData()
Plugin Data provided by KpmCompilerPlugin
-
setKotlinPluginData
final Unit setKotlinPluginData(Provider<KotlinCompilerPluginData> kotlinPluginData)
Plugin Data provided by KpmCompilerPlugin
-
getSerializedCompilerArguments
@Internal() final List<String> getSerializedCompilerArguments()
-
getDefaultSerializedCompilerArguments
@Internal() final List<String> getDefaultSerializedCompilerArguments()
-
kotlinOptions
Unit kotlinOptions(Function1<KotlinCommonOptions, Unit> fn)
-
kotlinOptions
Unit kotlinOptions(Closure<?> fn)
-
-
-
-