refactored the maven plugin to use the vanilla K2JSCompiler directly and avoid using the K2JVMCompiler when generating JS code; also included a default LibrarySourceConfig which detects JS library code on the classpath which works nicer in maven/ant style worlds where dependencies tend to be specified rather than file paths to zip files

This commit is contained in:
James Strachan
2012-05-29 17:28:15 +01:00
parent 8daeb735e4
commit 4921aeafc3
13 changed files with 102 additions and 124 deletions
@@ -1,6 +1,11 @@
package sample
class Hello {
public fun main(args: Array<String>): Unit {
val hello = Hello()
hello.doSomething()
}
public class Hello {
var x = 0
fun doSomething(): Unit {