Package dev.nokee.companion
Class CppBinaryTaskExtensions
java.lang.Object
dev.nokee.companion.CppBinaryTaskExtensions
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.tasks.TaskProvider<CppCompile> compileTask(org.gradle.language.cpp.CppBinary binary) Deprecated.static org.gradle.api.tasks.TaskProvider<org.gradle.nativeplatform.tasks.CreateStaticLibrary> createTask(org.gradle.language.nativeplatform.ComponentWithStaticLibrary binary) Deprecated.static org.gradle.api.tasks.TaskProvider<org.gradle.nativeplatform.tasks.InstallExecutable> installTask(org.gradle.language.nativeplatform.ComponentWithInstallation binary) Deprecated.static org.gradle.api.tasks.TaskProvider<org.gradle.nativeplatform.tasks.LinkExecutable> linkTask(org.gradle.language.nativeplatform.ComponentWithExecutable binary) Deprecated.static org.gradle.api.tasks.TaskProvider<org.gradle.nativeplatform.tasks.LinkSharedLibrary> linkTask(org.gradle.language.nativeplatform.ComponentWithSharedLibrary binary) Deprecated.static org.gradle.api.tasks.TaskProvider<org.gradle.nativeplatform.test.tasks.RunTestExecutable> runTask(org.gradle.nativeplatform.test.cpp.CppTestExecutable binary) Deprecated.
-
Constructor Details
-
CppBinaryTaskExtensions
public CppBinaryTaskExtensions()
-
-
Method Details
-
compileTask
@Deprecated public static org.gradle.api.tasks.TaskProvider<CppCompile> compileTask(org.gradle.language.cpp.CppBinary binary) Deprecated.Returns a configurable provider to the compile task of the specified binary.- Parameters:
binary- the target binary- Returns:
- a configurable provider to the compile task of the specified binary
-
linkTask
@Deprecated public static org.gradle.api.tasks.TaskProvider<org.gradle.nativeplatform.tasks.LinkExecutable> linkTask(org.gradle.language.nativeplatform.ComponentWithExecutable binary) Deprecated.Returns a configurable provider to the link task of the specified binary.- Parameters:
binary- the target binary- Returns:
- a configurable provider to the link task of the specified binary
-
installTask
@Deprecated public static org.gradle.api.tasks.TaskProvider<org.gradle.nativeplatform.tasks.InstallExecutable> installTask(org.gradle.language.nativeplatform.ComponentWithInstallation binary) Deprecated.Returns a configurable provider to the install task of the specified binary.- Parameters:
binary- the target binary- Returns:
- a configurable provider to the install task of the specified binary
-
createTask
@Deprecated public static org.gradle.api.tasks.TaskProvider<org.gradle.nativeplatform.tasks.CreateStaticLibrary> createTask(org.gradle.language.nativeplatform.ComponentWithStaticLibrary binary) Deprecated.Returns a configurable provider to the create task of the specified binary.- Parameters:
binary- the target binary- Returns:
- a configurable provider to the create task of the specified binary
-
runTask
@Deprecated public static org.gradle.api.tasks.TaskProvider<org.gradle.nativeplatform.test.tasks.RunTestExecutable> runTask(org.gradle.nativeplatform.test.cpp.CppTestExecutable binary) Deprecated.Returns a configurable provider to the run task of the specified binary.- Parameters:
binary- the target binary- Returns:
- a configurable provider to the run task of the specified binary
-