use of com.typesafe.zinc.SbtJars in project gradle by gradle.
the class ZincScalaCompilerFactory method createZincSetup.
private static Setup createZincSetup(Iterable<File> scalaClasspath, Iterable<File> zincClasspath, xsbti.Logger logger) {
ScalaLocation scalaLocation = ScalaLocation.fromPath(Lists.newArrayList(scalaClasspath));
SbtJars sbtJars = SbtJars.fromPath(Lists.newArrayList(zincClasspath));
Setup setup = Setup.create(scalaLocation, sbtJars, Jvm.current().getJavaHome(), true);
if (LOGGER.isDebugEnabled()) {
Setup.debug(setup, logger);
}
return setup;
}
Aggregations