-
- All Implemented Interfaces:
-
org.gradle.api.Named
public abstract class AbstractNativeLibrary extends NativeBinary
-
-
Field Summary
Fields Modifier and Type Field Description private final String
exportConfigurationName
private Boolean
transitiveExport
private String
baseName
private final KotlinNativeTarget
target
private final Project
project
private final NativeOutputKind
outputKind
private Boolean
debuggable
private Boolean
optimized
private List<String>
linkerOpts
private Map<String, String>
binaryOptions
private List<String>
freeCompilerArgs
private final String
linkTaskName
private final KotlinNativeLink
linkTask
private final TaskProvider<out KotlinNativeLink>
linkTaskProvider
private File
outputDirectory
private final DirectoryProperty
outputDirectoryProperty
private final File
outputFile
private final NativeBuildType
buildType
private transient KotlinNativeCompilation
compilation
-
Constructor Summary
Constructors Constructor Description AbstractNativeLibrary(String name, String baseName, NativeBuildType buildType, KotlinNativeCompilation compilation)
-
Method Summary
Modifier and Type Method Description final String
getExportConfigurationName()
final Boolean
getTransitiveExport()
final Unit
setTransitiveExport(Boolean transitiveExport)
final Unit
export(Object dependency)
Add a dependency to be exported in the framework. final Unit
export(Object dependency, Closure<?> configure)
Add a dependency to be exported in the framework. final Unit
export(Object dependency, Action<in Dependency> configure)
Add a dependency to be exported in the framework. -
Methods inherited from class org.jetbrains.kotlin.gradle.plugin.mpp.NativeBinary
binaryOption, getBaseName, getBinaryOptions, getBuildType, getCompilation, getDebuggable, getFreeCompilerArgs, getLinkTask, getLinkTaskName, getLinkTaskProvider, getLinkerOpts, getName, getOptimized, getOutputDirectory, getOutputDirectoryProperty, getOutputFile, getOutputKind, getProject, getTarget, linkerOpts, linkerOpts, setBaseName, setBinaryOptions, setCompilation, setDebuggable, setFreeCompilerArgs, setLinkerOpts, setOptimized, setOutputDirectory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AbstractNativeLibrary
AbstractNativeLibrary(String name, String baseName, NativeBuildType buildType, KotlinNativeCompilation compilation)
-
-
Method Detail
-
getExportConfigurationName
final String getExportConfigurationName()
-
getTransitiveExport
final Boolean getTransitiveExport()
-
setTransitiveExport
final Unit setTransitiveExport(Boolean transitiveExport)
-
export
final Unit export(Object dependency, Closure<?> configure)
Add a dependency to be exported in the framework.
-
-
-
-