flair.gradle.plugins.TexturePackerPlugin.groovy Maven / Gradle / Ivy
package flair.gradle.plugins
import flair.gradle.structures.AtlasesStructure
import flair.gradle.structures.IStructure
import flair.gradle.tasks.TaskDefinition
/**
* @author SamYStudiO ( [email protected] )
*/
class TexturePackerPlugin extends AbstractPlugin implements IStructurePlugin
{
@Override
public List getStructures()
{
List list = new ArrayList( )
list.add( new AtlasesStructure( ) )
return list
}
@Override
protected void addTasks()
{
project.tasks.create( TaskDefinition.PUBLISH_ATLASES.name , TaskDefinition.PUBLISH_ATLASES.type )
}
}