build sample project from groovy script