Package dev.nokee.companion
Class CppBinaryConfigurationExtensions
java.lang.Object
dev.nokee.companion.CppBinaryConfigurationExtensions
Represents binary task extensions to avoid realizing the compile, link, create and install tasks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.gradle.api.NamedDomainObjectProvider<org.gradle.api.artifacts.Configuration>cppCompileOf(org.gradle.language.cpp.CppBinary binary) Returns a configurable provider to the cpp compile configuration of the specified binary.static org.gradle.api.NamedDomainObjectProvider<org.gradle.api.artifacts.Configuration>linkElementsOf(org.gradle.language.nativeplatform.ComponentWithLinkUsage binary) Returns a configurable provider to the link elements configuration of the specified binary.static org.gradle.api.NamedDomainObjectProvider<org.gradle.api.artifacts.Configuration>nativeLinkOf(org.gradle.language.cpp.CppBinary binary) Returns a configurable provider to the native link configuration of the specified binary.static org.gradle.api.NamedDomainObjectProvider<org.gradle.api.artifacts.Configuration>nativeRuntimeOf(org.gradle.language.cpp.CppBinary binary) Returns a configurable provider to the native runtime configuration of the specified binary.static org.gradle.api.NamedDomainObjectProvider<org.gradle.api.artifacts.Configuration>runtimeElementsOf(org.gradle.language.nativeplatform.ComponentWithRuntimeUsage binary) Returns a configurable provider to the runtime elements configuration of the specified binary.
-
Constructor Details
-
CppBinaryConfigurationExtensions
public CppBinaryConfigurationExtensions()
-
-
Method Details
-
linkElementsOf
public static org.gradle.api.NamedDomainObjectProvider<org.gradle.api.artifacts.Configuration> linkElementsOf(org.gradle.language.nativeplatform.ComponentWithLinkUsage binary) Returns a configurable provider to the link elements configuration of the specified binary.- Parameters:
binary- the target binary- Returns:
- a configurable provider to the link elements configuration of the specified binary
-
runtimeElementsOf
public static org.gradle.api.NamedDomainObjectProvider<org.gradle.api.artifacts.Configuration> runtimeElementsOf(org.gradle.language.nativeplatform.ComponentWithRuntimeUsage binary) Returns a configurable provider to the runtime elements configuration of the specified binary.- Parameters:
binary- the target binary- Returns:
- a configurable provider to the runtime elements configuration of the specified binary
-
cppCompileOf
public static org.gradle.api.NamedDomainObjectProvider<org.gradle.api.artifacts.Configuration> cppCompileOf(org.gradle.language.cpp.CppBinary binary) Returns a configurable provider to the cpp compile configuration of the specified binary.- Parameters:
binary- the target binary- Returns:
- a configurable provider to the cpp compile configuration of the specified binary
-
nativeLinkOf
public static org.gradle.api.NamedDomainObjectProvider<org.gradle.api.artifacts.Configuration> nativeLinkOf(org.gradle.language.cpp.CppBinary binary) Returns a configurable provider to the native link configuration of the specified binary.- Parameters:
binary- the target binary- Returns:
- a configurable provider to the native link configuration of the specified binary
-
nativeRuntimeOf
public static org.gradle.api.NamedDomainObjectProvider<org.gradle.api.artifacts.Configuration> nativeRuntimeOf(org.gradle.language.cpp.CppBinary binary) Returns a configurable provider to the native runtime configuration of the specified binary.- Parameters:
binary- the target binary- Returns:
- a configurable provider to the native runtime configuration of the specified binary
-