scalaCompile.setDestinationDir(compileOutputDirectory);
scalaCompile.setSource("app");
IncrementalCompileOptions incrementalOptions = scalaCompile.getScalaCompileOptions().getIncrementalOptions();
incrementalOptions.setAnalysisFile(new File(buildDir, String.format("tmp/scala/compilerAnalysis/%s.analysis", scalaCompileTaskName)));
// /ignore uncompiled twirl templates
scalaCompile.exclude("**/*.html");
//handle twirl compiler output