maven plugin: disable runtime hiding from compiler classpath
This commit is contained in:
+5
-5
@@ -182,11 +182,11 @@ public abstract class KotlinCompileMojoBase extends AbstractMojo {
|
|||||||
log.debug("Removed target directory from compiler classpath (" + output + ")");
|
log.debug("Removed target directory from compiler classpath (" + output + ")");
|
||||||
}
|
}
|
||||||
|
|
||||||
final String runtime = getRuntimeFromClassPath(classpath);
|
// final String runtime = getRuntimeFromClassPath(classpath);
|
||||||
if (runtime != null) {
|
// if (runtime != null) {
|
||||||
log.debug("Removed Kotlin runtime from compiler classpath (" + runtime + ")");
|
// log.debug("Removed Kotlin runtime from compiler classpath (" + runtime + ")");
|
||||||
classpathList.remove(runtime);
|
// classpathList.remove(runtime);
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (classpathList.size() > 0) {
|
if (classpathList.size() > 0) {
|
||||||
final String classPathString = Joiner.on(File.pathSeparator).join(classpathList);
|
final String classPathString = Joiner.on(File.pathSeparator).join(classpathList);
|
||||||
|
|||||||
Reference in New Issue
Block a user