gradle
8.5

# Package-level declarations

Classes that model aspects of native component projects.

## Types

BuildType
Link copied to clipboard
@Incubating
interface BuildType : Named
Specifies a build-type for a native binary.
BuildTypeContainer
Link copied to clipboard
@Incubating
interface BuildTypeContainer : NamedDomainObjectContainer<T>
A container of BuildTypes.
Flavor
Link copied to clipboard
@Incubating
interface Flavor : Named
Defines a custom variant that differentiate a NativeBinary.
FlavorContainer
Link copied to clipboard
@Incubating
interface FlavorContainer : NamedDomainObjectContainer<T>
A container of Flavors.
Linkage
Link copied to clipboard
enum Linkage : Named
Specify how a native library should be linked into another binary.
MachineArchitecture
Link copied to clipboard
abstract class MachineArchitecture : Named
Represents a target architecture of a component.
NativeBinary
Link copied to clipboard
@Incubating
interface NativeBinary : Binary
Represents a particular binary artifact.
NativeBinarySpec
Link copied to clipboard
@Incubating
interface NativeBinarySpec : BinarySpec
Represents a binary artifact that is the result of building a native component.
NativeComponentExtension
Link copied to clipboard
@Incubating
interface NativeComponentExtension
The configuration for native components generated by this build.
NativeComponentSpec
Link copied to clipboard
@Incubating
interface NativeComponentSpec : ComponentSpec
Definition of a software component that is to be built by Gradle to run a on JVM platform.
NativeDependencySet
Link copied to clipboard
@Incubating
interface NativeDependencySet
Models a collection of native type dependencies.
NativeExecutable
Link copied to clipboard
@Incubating
interface NativeExecutable : Application
An executable native component that is built by Gradle.
NativeExecutableBinary
Link copied to clipboard
@Incubating
interface NativeExecutableBinary : NativeBinary
A binary artifact for a NativeExecutable, targeted at a particular platform with specific configuration.
NativeExecutableBinarySpec
Link copied to clipboard
@Incubating
interface NativeExecutableBinarySpec : NativeBinarySpec, ApplicationBinarySpec
An binary built by Gradle for a native application.
NativeExecutableFileSpec
Link copied to clipboard
@Incubating
open class NativeExecutableFileSpec
Specifies how to build and where to place a native executable file.
NativeExecutableSpec
Link copied to clipboard
@Incubating
interface NativeExecutableSpec : ApplicationSpec, NativeComponentSpec, TargetedNativeComponent
Definition of a native executable component that is to be built by Gradle.
NativeInstallationSpec
Link copied to clipboard
@Incubating
open class NativeInstallationSpec
Specifies the installation location for a native executable.
NativeLibrary
Link copied to clipboard
@Incubating
interface NativeLibrary : Library
A library component that is built by a gradle project.
NativeLibraryBinary
Link copied to clipboard
@Incubating
interface NativeLibraryBinary : NativeBinary
A physical representation of a NativeLibrary component.
NativeLibraryBinarySpec
Link copied to clipboard
@Incubating
interface NativeLibraryBinarySpec : NativeBinarySpec, LibraryBinarySpec
Represents a binary artifact that is the result of building a native library component.
NativeLibraryRequirement
Link copied to clipboard
@Incubating
interface NativeLibraryRequirement
A dependency on a native library within the build.
NativeLibrarySpec
Link copied to clipboard
@Incubating
interface NativeLibrarySpec : LibrarySpec, NativeComponentSpec, TargetedNativeComponent
Definition of a native library component that is to be built by Gradle.
ObjectFile
Link copied to clipboard
@Incubating
open class ObjectFile : TransformationFileType
LanguageOutputType marking object file output type.
OperatingSystemFamily
Link copied to clipboard
abstract class OperatingSystemFamily : Named
Represents the operating system of a configuration.
PrebuiltLibraries
Link copied to clipboard
@Incubating
interface PrebuiltLibraries : ArtifactRepository, NamedDomainObjectSet<T>
A container of PrebuiltLibrary instances.
PrebuiltLibrary
Link copied to clipboard
@Incubating
interface PrebuiltLibrary : Named, NativeLibrary
A library component that is not built by gradle.
PrebuiltSharedLibraryBinary
Link copied to clipboard
@Incubating
interface PrebuiltSharedLibraryBinary : SharedLibraryBinary
A shared library that exists at a known location on the filesystem.
PrebuiltStaticLibraryBinary
Link copied to clipboard
@Incubating
interface PrebuiltStaticLibraryBinary : StaticLibraryBinary
A static library that exists at a known location on the filesystem.
PreprocessingTool
Link copied to clipboard
@Incubating
interface PreprocessingTool : Tool
A tool that permits configuration of the C preprocessor.
Repositories
Link copied to clipboard
@Incubating
interface Repositories : PolymorphicDomainObjectContainer<T>
The repositories that Gradle will search for prebuilt libraries.
SharedLibraryBinary
Link copied to clipboard
@Incubating
interface SharedLibraryBinary : NativeLibraryBinary
A NativeLibrary that has been compiled and linked as a shared library.
SharedLibraryBinarySpec
Link copied to clipboard
@Incubating
interface SharedLibraryBinarySpec : NativeLibraryBinarySpec
A shared library binary built by Gradle for a native library.
StaticLibraryBinary
Link copied to clipboard
@Incubating
interface StaticLibraryBinary : NativeLibraryBinary
A NativeLibrary that has been compiled and archived into a static library.
StaticLibraryBinarySpec
Link copied to clipboard
@Incubating
interface StaticLibraryBinarySpec : NativeLibraryBinarySpec
A static library binary built by Gradle for a native library.
TargetedNativeComponent
Link copied to clipboard
@Incubating
interface TargetedNativeComponent : PlatformAwareComponentSpec, NativeComponentSpec
A native component that can be configured to target certain variant dimensions.
TargetMachine
Link copied to clipboard
interface TargetMachine
Represents a combination of operating system and cpu architecture that a variant might be built for.
TargetMachineBuilder
Link copied to clipboard
interface TargetMachineBuilder : TargetMachine
A builder for configuring the architecture of a TargetMachine objects.
TargetMachineFactory
Link copied to clipboard
interface TargetMachineFactory
A factory for creating TargetMachine objects.
Tool
Link copied to clipboard
@Incubating
interface Tool
Configuration of the arguments of a ToolChain executable.