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