fixed up the maven plugin after Pavel's changes

This commit is contained in:
James Strachan
2012-07-04 22:01:04 +01:00
parent f5f6749d1d
commit d950d19292
@@ -163,7 +163,7 @@ public class K2JSCompilerMojo extends KotlinCompileMojo {
k2jsArgs.verbose = verbose;
}
if (sources.size() > 0) {
k2jsArgs.sourceFiles = sources;
k2jsArgs.sourceFiles = sources.toArray(new String[sources.size()]);
}
}
getLog().info("Compiling Kotlin src from " + arguments.getSrc() + " to JavaScript at: " + outputFile);