Movatterモバイル変換


[0]ホーム

URL:


NativeLibrarySpec

Table of Contents

Properties
Methods
Script blocks
Property details
Method details
API Documentation:NativeLibrarySpec

Note: This class isincubating and may change in a future version of Gradle.

Definition of a native library component that is to be built by Gradle.

Properties

PropertyDescription
api
Incubating

Converts this library to a native library requirement that uses the api library linkage.

baseName
Incubating

The name that is used to construct the output file names when building this component.

binaries
Incubating

The variants produced for this component spec.

displayName
Incubating

Returns a human-consumable display name for this element.

shared
Incubating

Converts this library to a native library requirement that uses the shared library variant. This is the default.

static
Incubating

Converts this library to a native library requirement that uses the static library variant.

Methods

MethodDescription
targetBuildTypes(buildTypeSelectors)
Incubating

Specifies the names of one or moreBuildTypes that this component should be built for.

targetFlavors(flavorSelectors)
Incubating

Specifies the names of one or moreFlavors that this component should be built for.

targetPlatform(targetPlatform)
Incubating

Specifies a platform that this component should be built be for.

Script blocks

No script blocks

Property details

Note: This property isincubating and may change in a future version of Gradle.

Converts this library to a native library requirement that uses the api library linkage.

StringbaseName

Note: This property isincubating and may change in a future version of Gradle.

The name that is used to construct the output file names when building this component.

ModelMap<BinarySpec>binaries (read-only)

Note: This property isincubating and may change in a future version of Gradle.

The variants produced for this component spec.

StringdisplayName (read-only)

Note: This property isincubating and may change in a future version of Gradle.

Returns a human-consumable display name for this element.

NativeLibraryRequirementshared (read-only)

Note: This property isincubating and may change in a future version of Gradle.

Converts this library to a native library requirement that uses the shared library variant. This is the default.

NativeLibraryRequirementstatic (read-only)

Note: This property isincubating and may change in a future version of Gradle.

Converts this library to a native library requirement that uses the static library variant.

Method details

voidtargetBuildTypes(String... buildTypeSelectors)

Note: This method isincubating and may change in a future version of Gradle.

Specifies the names of one or moreBuildTypes that this component should be built for.

voidtargetFlavors(String... flavorSelectors)

Note: This method isincubating and may change in a future version of Gradle.

Specifies the names of one or moreFlavors that this component should be built for.

voidtargetPlatform(String targetPlatform)

Note: This method isincubating and may change in a future version of Gradle.

Specifies a platform that this component should be built be for.


[8]ページ先頭

©2009-2025 Movatter.jp