All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.nokee.platform.nativebase.SharedLibraryBinary Maven / Gradle / Ivy

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy