flair.gradle.cli.Adl.groovy Maven / Gradle / Ivy
package flair.gradle.cli
import flair.gradle.dependencies.Sdk
import flair.gradle.variants.Platform
import org.gradle.api.Project
/**
* @author SamYStudiO ( [email protected] )
*/
public class Adl extends AbstractCli
{
@Override
public String execute( Project project , Platform platform )
{
return project.ant.exec( executable: new Sdk( project , platform ).adlPath ) {
arguments.each {
println( "\t" + it )
arg( value: it )
}
}
}
}