use of org.gradle.api.internal.tasks.scala.DefaultScalaJavaJointCompileSpecFactory in project gradle by gradle.
the class AbstractScalaCompile method createSpec.
protected ScalaJavaJointCompileSpec createSpec() {
DefaultScalaJavaJointCompileSpec spec = new DefaultScalaJavaJointCompileSpecFactory(compileOptions).create();
spec.setSource(getSource());
spec.setDestinationDir(getDestinationDir());
spec.setWorkingDir(getProject().getProjectDir());
spec.setTempDir(getTemporaryDir());
spec.setCompileClasspath(ImmutableList.copyOf(getClasspath()));
spec.setSourceCompatibility(getSourceCompatibility());
spec.setTargetCompatibility(getTargetCompatibility());
spec.setCompileOptions(getOptions());
spec.setScalaCompileOptions(scalaCompileOptions);
return spec;
}
Aggregations