-
- All Implemented Interfaces:
-
org.gradle.api.Named
,org.gradle.api.attributes.HasAttributes
public final class Framework extends AbstractNativeLibrary implements HasAttributes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
Framework.BitcodeEmbeddingMode
public class
Framework.Companion
-
Field Summary
Fields Modifier and Type Field Description private final NativeOutputKind
outputKind
private final Property<BitcodeEmbeddingMode>
embedBitcodeMode
private BitcodeEmbeddingMode
embedBitcode
private Boolean
isStatic
private final String
exportConfigurationName
private Boolean
transitiveExport
private String
baseName
private final KotlinNativeTarget
target
private final Project
project
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 Framework(String name, String baseName, NativeBuildType buildType, KotlinNativeCompilation compilation)
-
Method Summary
Modifier and Type Method Description NativeOutputKind
getOutputKind()
final Property<BitcodeEmbeddingMode>
getEmbedBitcodeMode()
Embed bitcode for the framework or not. final BitcodeEmbeddingMode
getEmbedBitcode()
final Unit
setEmbedBitcode(@Deprecated(message = "Use 'embedBitcodeMode' property instead.") BitcodeEmbeddingMode embedBitcode)
final Boolean
isStatic()
Specifies if the framework is linked as a static library (false by default). final Unit
setStatic(Boolean isStatic)
Specifies if the framework is linked as a static library (false by default). HierarchyAttributeContainer
getAttributes()
final Unit
embedBitcode(BitcodeEmbeddingMode mode)
Enable or disable embedding bitcode for the framework. final Unit
embedBitcode(String mode)
Enable or disable embedding bitcode for the framework. -
Methods inherited from class org.jetbrains.kotlin.gradle.plugin.mpp.AbstractNativeLibrary
export, export, export, getExportConfigurationName, getTransitiveExport, setTransitiveExport
-
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, 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
-
Framework
Framework(String name, String baseName, NativeBuildType buildType, KotlinNativeCompilation compilation)
-
-
Method Detail
-
getOutputKind
NativeOutputKind getOutputKind()
-
getEmbedBitcodeMode
final Property<BitcodeEmbeddingMode> getEmbedBitcodeMode()
Embed bitcode for the framework or not. See BitcodeEmbeddingMode.
-
getEmbedBitcode
final BitcodeEmbeddingMode getEmbedBitcode()
-
setEmbedBitcode
final Unit setEmbedBitcode(@Deprecated(message = "Use 'embedBitcodeMode' property instead.") BitcodeEmbeddingMode embedBitcode)
-
isStatic
final Boolean isStatic()
Specifies if the framework is linked as a static library (false by default).
-
setStatic
final Unit setStatic(Boolean isStatic)
Specifies if the framework is linked as a static library (false by default).
-
getAttributes
HierarchyAttributeContainer getAttributes()
-
embedBitcode
final Unit embedBitcode(BitcodeEmbeddingMode mode)
Enable or disable embedding bitcode for the framework. See BitcodeEmbeddingMode.
-
embedBitcode
final Unit embedBitcode(String mode)
Enable or disable embedding bitcode for the framework. The parameter mode is one of the following string constants:
disable - Don't embed LLVM IR bitcode. bitcode - Embed LLVM IR bitcode as data. Has the same effect as the -Xembed-bitcode command line option. marker - Embed placeholder LLVM IR data as a marker. Has the same effect as the -Xembed-bitcode-marker command line option.
-
-
-
-