-
- All Implemented Interfaces:
-
org.gradle.api.Named
public final class StaticLibrary extends AbstractNativeLibrary
-
-
Field Summary
Fields Modifier and Type Field Description private final NativeOutputKindoutputKindprivate final StringexportConfigurationNameprivate BooleantransitiveExportprivate StringbaseNameprivate final KotlinNativeTargettargetprivate final Projectprojectprivate Booleandebuggableprivate Booleanoptimizedprivate List<String>linkerOptsprivate Map<String, String>binaryOptionsprivate List<String>freeCompilerArgsprivate final StringlinkTaskNameprivate final KotlinNativeLinklinkTaskprivate final TaskProvider<out KotlinNativeLink>linkTaskProviderprivate FileoutputDirectoryprivate final FileoutputFileprivate final NativeBuildTypebuildTypeprivate transient KotlinNativeCompilationcompilation
-
Constructor Summary
Constructors Constructor Description StaticLibrary(String name, String baseName, NativeBuildType buildType, KotlinNativeCompilation compilation)
-
Method Summary
-
Methods inherited from class org.jetbrains.kotlin.gradle.plugin.mpp.StaticLibrary
export, export, export -
Methods inherited from class org.jetbrains.kotlin.gradle.plugin.mpp.AbstractNativeLibrary
binaryOption, getName, linkerOpts, linkerOpts -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
StaticLibrary
StaticLibrary(String name, String baseName, NativeBuildType buildType, KotlinNativeCompilation compilation)
-
-
Method Detail
-
getOutputKind
NativeOutputKind getOutputKind()
-
getExportConfigurationName
final String getExportConfigurationName()
-
getTransitiveExport
final Boolean getTransitiveExport()
-
setTransitiveExport
final Unit setTransitiveExport(Boolean transitiveExport)
-
getBaseName
String getBaseName()
-
setBaseName
Unit setBaseName(String baseName)
-
getTarget
final KotlinNativeTarget getTarget()
-
getProject
final Project getProject()
-
getDebuggable
final Boolean getDebuggable()
-
setDebuggable
final Unit setDebuggable(Boolean debuggable)
-
getOptimized
final Boolean getOptimized()
-
setOptimized
final Unit setOptimized(Boolean optimized)
-
getLinkerOpts
final List<String> getLinkerOpts()
Additional options passed to the linker by the Kotlin/Native compiler.
-
setLinkerOpts
final Unit setLinkerOpts(List<String> linkerOpts)
Additional options passed to the linker by the Kotlin/Native compiler.
-
getBinaryOptions
final Map<String, String> getBinaryOptions()
-
setBinaryOptions
final Unit setBinaryOptions(Map<String, String> binaryOptions)
-
getFreeCompilerArgs
final List<String> getFreeCompilerArgs()
-
setFreeCompilerArgs
final Unit setFreeCompilerArgs(List<String> freeCompilerArgs)
-
getLinkTaskName
final String getLinkTaskName()
-
getLinkTask
final KotlinNativeLink getLinkTask()
-
getLinkTaskProvider
final TaskProvider<out KotlinNativeLink> getLinkTaskProvider()
-
getOutputDirectory
final File getOutputDirectory()
-
setOutputDirectory
final Unit setOutputDirectory(File outputDirectory)
-
getOutputFile
final File getOutputFile()
-
getBuildType
final NativeBuildType getBuildType()
-
getCompilation
final KotlinNativeCompilation getCompilation()
-
setCompilation
final Unit setCompilation(KotlinNativeCompilation compilation)
- Parameters:
compilation-a compilation used to produce this binary.
-
-
-
-