dev.nokee.platform.nativebase.SharedLibraryBinary 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;
import dev.nokee.language.base.tasks.SourceCompile;
import dev.nokee.platform.base.TaskView;
import dev.nokee.platform.nativebase.tasks.LinkSharedLibrary;
import org.gradle.api.tasks.TaskProvider;
/**
* A shared library built from 1 or more native language.
*
* @since 0.3
*/
public interface SharedLibraryBinary extends NativeBinary {
/**
* Returns a view of all the compile tasks that participate to compiling all the object files for this binary.
*
* @return a view of {@link SourceCompile} tasks, never null.
*/
TaskView getCompileTasks();
/**
* Returns a provider for the task that links the object files into this binary.
*
* @return a provider of {@link LinkSharedLibrary} task, never null.
*/
TaskProvider getLinkTask();
/**
* Returns whether or not this binary can be built in the current environment.
*
* @return {@code true} if this binary can be built in the current environment or {@code false} otherwise.
* @since 0.4
*/
boolean isBuildable();
}