dev.nokee.platform.nativebase.tasks.CreateStaticLibrary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platformNative Show documentation
Show all versions of platformNative Show documentation
Painless native development in Gradle
The newest version!
package dev.nokee.platform.nativebase.tasks;
import org.gradle.api.Task;
import org.gradle.api.file.RegularFile;
import org.gradle.api.provider.ListProperty;
import org.gradle.api.provider.Provider;
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.Internal;
import org.gradle.api.tasks.OutputFile;
import org.gradle.nativeplatform.toolchain.NativeToolChain;
public interface CreateStaticLibrary extends Task {
/**
* The tool chain used for the compilation.
*
* @return a provider of a {@link NativeToolChain} instance of the tool chain used for the compilation, never null.
*/
@Internal
Provider getToolChain();
/**
* Additional arguments to provide to the archiver.
*
* It act as an escape hatch to the current model.
* Please open an issue on https://github.com/nokeedev/gradle-native with your reason for using this hatch so we can improve the model.
*
* @return a property for adding additional arguments, never null.
*/
@Input
ListProperty getArchiverArgs();
/**
* Returns the location of the created binary.
*
* @return a provider of where the binary is created.
*/
@OutputFile
Provider getOutputFile();
}