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

flair.gradle.tasks.AbstractTask.groovy Maven / Gradle / Ivy

package flair.gradle.tasks

import flair.gradle.extensions.FlairProperty
import flair.gradle.extensions.IExtensionManager
import org.gradle.api.DefaultTask

/**
 * @author SamYStudiO ( [email protected] )
 */
public abstract class AbstractTask extends DefaultTask implements ITask
{
	protected IExtensionManager getExtensionManager()
	{
		return project.flair as IExtensionManager
	}

	protected File getModuleDir()
	{
		return project.file( extensionManager.getFlairProperty( FlairProperty.MODULE_NAME ) )
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy