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

flair.gradle.plugins.AbstractPlugin.groovy Maven / Gradle / Ivy

package flair.gradle.plugins

import org.gradle.api.Project

/**
 * @author SamYStudiO ( [email protected] )
 */
public abstract class AbstractPlugin implements IPlugin
{
	private Project project

	public Project getProject()
	{
		return project
	}

	@Override
	public void apply( Project project )
	{
		this.project = project

		if( !( this instanceof BasePlugin ) ) project.apply( plugin: BasePlugin )

		addTasks( )
	}

	protected void addTasks()
	{
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy