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

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

package flair.gradle.tasks

import flair.gradle.variants.Variant

/**
 * @author SamYStudiO ( [email protected] )
 */
public abstract class AbstractVariantTask extends AbstractTask implements IVariantTask
{
	protected Variant variant

	public Variant getVariant()
	{
		return variant
	}

	public void setVariant( Variant variant )
	{
		this.variant = variant
	}

	protected File getOutputVariantDir()
	{
		return project.file( "${ project.buildDir.path }/${ variant.getNameWithType( Variant.NamingTypes.UNDERSCORE ) }" )
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy