api / org.gradle.nativeplatform

Package org.gradle.nativeplatform

Types

BuildType

interface BuildType : Named

Specifies a build-type for a native binary. Common build types are 'debug' and 'release', but others may be defined.

BuildTypeContainer

interface BuildTypeContainer : NamedDomainObjectContainer<BuildType>

A container of BuildTypes.

Flavor

interface Flavor : Named

Defines a custom variant that differentiate a NativeBinary.

FlavorContainer

interface FlavorContainer : NamedDomainObjectContainer<Flavor>

A container of Flavors.

If no flavor is explicitly configured, will contain a single Flavor named 'default'. Any flavors explicitly configured will overwrite the default flavor.

Linkage

class Linkage : Named

Specify how a native library should be linked into another binary.

NativeBinary

interface NativeBinary : Binary

Represents a particular binary artifact.

NativeBinarySpec

interface NativeBinarySpec : BinarySpec

Represents a binary artifact that is the result of building a native component.

NativeComponentExtension

interface NativeComponentExtension

The configuration for native components generated by this build.

NativeComponentSpec

interface NativeComponentSpec : ComponentSpec

Definition of a software component that is to be built by Gradle to run a on JVM platform.

NativeDependencySet

interface NativeDependencySet

Models a collection of native type dependencies.

NativeExecutable

interface NativeExecutable : Application

An executable native component that is built by Gradle.

NativeExecutableBinary

interface NativeExecutableBinary : NativeBinary

A binary artifact for a NativeExecutable, targeted at a particular platform with specific configuration.

NativeExecutableBinarySpec

interface NativeExecutableBinarySpec : NativeBinarySpec, ApplicationBinarySpec

An binary built by Gradle for a native application.

NativeExecutableFileSpec

open class NativeExecutableFileSpec

Specifies how to build and where to place a native executable file.

TODO:HH resolve naming conflict with existing NativeExecutableSpec

NativeExecutableSpec

interface NativeExecutableSpec : ApplicationSpec, NativeComponentSpec, TargetedNativeComponent

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

NativeInstallationSpec

open class NativeInstallationSpec

Specifies the installation location for a native executable.

NativeLibrary

interface NativeLibrary : Library

A library component that is built by a gradle project.

NativeLibraryBinary

interface NativeLibraryBinary : NativeBinary

A physical representation of a NativeLibrary component.

NativeLibraryBinarySpec

interface NativeLibraryBinarySpec : NativeBinarySpec, LibraryBinarySpec

Represents a binary artifact that is the result of building a native library component.

NativeLibraryRequirement

interface NativeLibraryRequirement

A dependency on a native library within the build.

NativeLibrarySpec

interface NativeLibrarySpec : LibrarySpec, NativeComponentSpec, TargetedNativeComponent

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

ObjectFile

open class ObjectFile : TransformationFileType

LanguageOutputType marking object file output type.

OperatingSystemFamily

abstract class OperatingSystemFamily : Named

Represents the operating system of a configuration. Typical operating system include Windows, Linux, and macOS. This interface allows the user to customize operating systems by implementing this interface.

PrebuiltLibraries

interface PrebuiltLibraries : ArtifactRepository, NamedDomainObjectSet<PrebuiltLibrary>

A container of PrebuiltLibrary instances.

PrebuiltLibrary

interface PrebuiltLibrary : Named, NativeLibrary

A library component that is not built by gradle.

PrebuiltSharedLibraryBinary

interface PrebuiltSharedLibraryBinary : SharedLibraryBinary

A shared library that exists at a known location on the filesystem.

PrebuiltStaticLibraryBinary

interface PrebuiltStaticLibraryBinary : StaticLibraryBinary

A static library that exists at a known location on the filesystem.

PreprocessingTool

interface PreprocessingTool : Tool

A tool that permits configuration of the C preprocessor.

Repositories

interface Repositories : PolymorphicDomainObjectContainer<ArtifactRepository>

The repositories that Gradle will search for prebuilt libraries.

SharedLibraryBinary

interface SharedLibraryBinary : NativeLibraryBinary

A NativeLibrary that has been compiled and linked as a shared library.

SharedLibraryBinarySpec

interface SharedLibraryBinarySpec : NativeLibraryBinarySpec

A shared library binary built by Gradle for a native library.

StaticLibraryBinary

interface StaticLibraryBinary : NativeLibraryBinary

A NativeLibrary that has been compiled and archived into a static library.

StaticLibraryBinarySpec

interface StaticLibraryBinarySpec : NativeLibraryBinarySpec

A static library binary built by Gradle for a native library.

TargetedNativeComponent

interface TargetedNativeComponent : PlatformAwareComponentSpec, NativeComponentSpec

A native component that can be configured to target certain variant dimensions. This functionality is a temporary workaround to eliminate configuration of unnecessary domain objects and tasks.

Tool

interface Tool

Configuration of the arguments of a ToolChain executable.