-
- All Implemented Interfaces:
-
kotlin.Comparable
,org.gradle.api.Task
,org.gradle.api.internal.DynamicObjectAware
,org.gradle.api.internal.TaskInternal
,org.gradle.api.plugins.ExtensionAware
,org.gradle.util.Configurable
,org.jetbrains.kotlin.gradle.tasks.KotlinToolTask
public abstract class KotlinNativeLinkArtifactTask extends DefaultTask implements KotlinToolTask<KotlinCommonCompilerToolOptions>
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<String>
baseName
private final DirectoryProperty
destinationDir
private final Property<Boolean>
optimized
private final Property<Boolean>
debuggable
private final Property<Boolean>
enableEndorsedLibs
private final Property<Boolean>
processTests
private final Property<String>
entryPoint
private final Property<Boolean>
staticFramework
private final Property<BitcodeEmbeddingMode>
embedBitcode
private final ConfigurableFileCollection
libraries
private final ConfigurableFileCollection
exportLibraries
private final ConfigurableFileCollection
includeLibraries
private final ListProperty<String>
linkerOptions
private final MapProperty<String, String>
binaryOptions
private final KotlinCommonCompilerToolOptions
toolOptions
private final KotlinCommonToolOptions
kotlinOptions
private final Boolean
allWarningsAsErrors
private final Boolean
suppressWarnings
private final Boolean
verbose
private final List<String>
freeCompilerArgs
private final Provider<File>
outputFile
private final KonanTarget
konanTarget
private final CompilerOutputKind
outputKind
private Boolean
enabled
private final Property<Duration>
timeout
private final TaskStateInternal
state
private Boolean
impliesSubProjects
private final Boolean
hasCustomActions
private final Set<Provider<out BuildService<?>>>
requiredServices
-
Constructor Summary
Constructors Constructor Description KotlinNativeLinkArtifactTask(KonanTarget konanTarget, CompilerOutputKind outputKind, ObjectFactory objectFactory, ExecOperations execOperations, ProjectLayout projectLayout)
-
Method Summary
Modifier and Type Method Description abstract Property<String>
getBaseName()
abstract DirectoryProperty
getDestinationDir()
abstract Property<Boolean>
getOptimized()
abstract Property<Boolean>
getDebuggable()
abstract Property<Boolean>
getEnableEndorsedLibs()
abstract Property<Boolean>
getProcessTests()
abstract Property<String>
getEntryPoint()
abstract Property<Boolean>
getStaticFramework()
abstract Property<BitcodeEmbeddingMode>
getEmbedBitcode()
abstract ConfigurableFileCollection
getLibraries()
abstract ConfigurableFileCollection
getExportLibraries()
abstract ConfigurableFileCollection
getIncludeLibraries()
abstract ListProperty<String>
getLinkerOptions()
abstract MapProperty<String, String>
getBinaryOptions()
KotlinCommonCompilerToolOptions
getToolOptions()
final KotlinCommonToolOptions
getKotlinOptions()
final Boolean
getAllWarningsAsErrors()
final Boolean
getSuppressWarnings()
final Boolean
getVerbose()
final List<String>
getFreeCompilerArgs()
final Provider<File>
getOutputFile()
final KonanTarget
getKonanTarget()
final CompilerOutputKind
getOutputKind()
final Unit
kotlinOptions(Function1<KotlinCommonToolOptions, Unit> fn)
final Unit
kotlinOptions(Action<KotlinCommonToolOptions> fn)
final Unit
link()
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
-
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.KotlinToolTask
toolOptions, toolOptions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getBaseName
@Input() abstract Property<String> getBaseName()
-
getDestinationDir
@OutputDirectory() abstract DirectoryProperty getDestinationDir()
-
getOptimized
@Input() abstract Property<Boolean> getOptimized()
-
getDebuggable
@Input() abstract Property<Boolean> getDebuggable()
-
getEnableEndorsedLibs
@Input() abstract Property<Boolean> getEnableEndorsedLibs()
-
getProcessTests
@Input() abstract Property<Boolean> getProcessTests()
-
getEntryPoint
@Optional()@Input() abstract Property<String> getEntryPoint()
-
getStaticFramework
@Input() abstract Property<Boolean> getStaticFramework()
-
getEmbedBitcode
@Input() abstract Property<BitcodeEmbeddingMode> getEmbedBitcode()
-
getLibraries
@Classpath() abstract ConfigurableFileCollection getLibraries()
-
getExportLibraries
@Classpath() abstract ConfigurableFileCollection getExportLibraries()
-
getIncludeLibraries
@Classpath() abstract ConfigurableFileCollection getIncludeLibraries()
-
getLinkerOptions
@Input() abstract ListProperty<String> getLinkerOptions()
-
getBinaryOptions
@Input() abstract MapProperty<String, String> getBinaryOptions()
-
getToolOptions
KotlinCommonCompilerToolOptions getToolOptions()
-
getKotlinOptions
@Internal() final KotlinCommonToolOptions getKotlinOptions()
-
getAllWarningsAsErrors
@Internal() final Boolean getAllWarningsAsErrors()
-
getSuppressWarnings
@Internal() final Boolean getSuppressWarnings()
-
getVerbose
@Internal() final Boolean getVerbose()
-
getFreeCompilerArgs
@Internal() final List<String> getFreeCompilerArgs()
-
getOutputFile
@Internal() final Provider<File> getOutputFile()
-
getKonanTarget
@Input() final KonanTarget getKonanTarget()
-
getOutputKind
@Input() final CompilerOutputKind getOutputKind()
-
kotlinOptions
final Unit kotlinOptions(Function1<KotlinCommonToolOptions, Unit> fn)
-
kotlinOptions
final Unit kotlinOptions(Action<KotlinCommonToolOptions> fn)
-
-
-
-