提交 a54e49ae 编写于 作者: D Dmitry Jemerov

Maven build fixed

上级 7cdc3d8d
[INFO] Kotlin Compiler version @snapshot@
[INFO] Compiling Kotlin sources from [/src/main/kotlin]
[INFO] Classes directory is /target/classes
[INFO] Using kotlin annotations from /local-repo/org/jetbrains/kotlin/kotlin-jdk-annotations/0.1-SNAPSHOT/kotlin-jdk-annotations-0.1-SNAPSHOT.jar
[INFO] Module name is test-project
......@@ -111,4 +111,13 @@ public class K2JVMCompileMojo extends KotlinCompileMojoBase<K2JVMCompilerArgumen
getLog().info("Optimization is turned off");
}
}
protected List<String> filterClassPath(List<String> classpath) {
return CollectionsKt.filter(classpath, new Function1<String, Boolean>() {
@Override
public Boolean invoke(String s) {
return new File(s).exists() || new File(project.getBasedir(), s).exists();
}
});
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册