use of org.finos.legend.engine.plan.compilation.ExecutionPlanDependenciesFilter in project legend-engine by finos.
the class JavaHelper method createNewJavaCompiler.
private static EngineJavaCompiler createNewJavaCompiler() {
List<ClassPathFilter> filters = Lists.mutable.of(new ExecutionPlanDependenciesFilter());
ExecutionPlanJavaCompilerExtensionLoader.extensions().forEach(ext -> filters.add(ext.getExtraClassPathFilter()));
return new EngineJavaCompiler(JavaVersion.JAVA_8, new CompositeClassPathFilter(filters));
}
Aggregations