-
- 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
@CacheableTask() public class CInteropProcess extends DefaultTask
-
-
Field Summary
Fields Modifier and Type Field Description private Provider<File>
destinationDir
private final KonanTarget
konanTarget
private final String
interopName
private final String
baseKlibName
private final String
outputFileName
private final String
moduleName
private final File
outputFile
private final Provider<File>
outputFileProvider
private final File
defFile
private final String
packageName
private final List<String>
compilerOpts
private final List<String>
linkerOpts
private final FileCollection
headers
private final Set<File>
allHeadersDirs
private final Set<File>
headerFilterDirs
private final FileCollection
libraries
private final List<String>
extraOpts
private final String
kotlinNativeVersion
private final DefaultCInteropSettings
settings
-
Constructor Summary
Constructors Constructor Description CInteropProcess(DefaultCInteropSettings settings)
-
Method Summary
Modifier and Type Method Description final Provider<File>
getDestinationDir()
final Unit
setDestinationDir(@Internal() Provider<File> destinationDir)
final KonanTarget
getKonanTarget()
final String
getInteropName()
final String
getBaseKlibName()
final String
getOutputFileName()
final String
getModuleName()
final File
getOutputFile()
final Provider<File>
getOutputFileProvider()
final File
getDefFile()
final String
getPackageName()
final List<String>
getCompilerOpts()
final List<String>
getLinkerOpts()
final FileCollection
getHeaders()
final Set<File>
getAllHeadersDirs()
final Set<File>
getHeaderFilterDirs()
final FileCollection
getLibraries()
final List<String>
getExtraOpts()
final String
getKotlinNativeVersion()
final DefaultCInteropSettings
getSettings()
final Unit
processInterop()
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.CInteropProcess
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CInteropProcess
CInteropProcess(DefaultCInteropSettings settings)
-
-
Method Detail
-
getDestinationDir
final Provider<File> getDestinationDir()
-
setDestinationDir
final Unit setDestinationDir(@Internal() Provider<File> destinationDir)
-
getKonanTarget
@Input() final KonanTarget getKonanTarget()
-
getInteropName
@Input() final String getInteropName()
-
getBaseKlibName
@Input() final String getBaseKlibName()
-
getOutputFileName
@Internal() final String getOutputFileName()
-
getModuleName
@Input() final String getModuleName()
-
getOutputFile
@Internal() final File getOutputFile()
-
getOutputFileProvider
final Provider<File> getOutputFileProvider()
-
getDefFile
@InputFile()@PathSensitive(value = PathSensitivity.RELATIVE) final File getDefFile()
-
getPackageName
@Optional()@Input() final String getPackageName()
-
getCompilerOpts
@Input() final List<String> getCompilerOpts()
-
getLinkerOpts
@Input() final List<String> getLinkerOpts()
-
getHeaders
@IgnoreEmptyDirectories()@InputFiles()@PathSensitive(value = PathSensitivity.RELATIVE) final FileCollection getHeaders()
-
getAllHeadersDirs
@Input() final Set<File> getAllHeadersDirs()
-
getHeaderFilterDirs
@Input() final Set<File> getHeaderFilterDirs()
-
getLibraries
@IgnoreEmptyDirectories()@InputFiles()@PathSensitive(value = PathSensitivity.RELATIVE) final FileCollection getLibraries()
-
getExtraOpts
@Input() final List<String> getExtraOpts()
-
getKotlinNativeVersion
@Input() final String getKotlinNativeVersion()
-
getSettings
@Internal() final DefaultCInteropSettings getSettings()
-
processInterop
final Unit processInterop()
-
-
-
-