CompilerAdapter for <javac> task + test for compiler attribute

No test for the typedef <withKotlin/> because Ant 1.7 doesn't seem to support typedef inside <javac>
This commit is contained in:
Andrey Breslav
2013-10-08 17:15:30 +04:00
parent bf49bc0220
commit a985882baf
8 changed files with 116 additions and 8 deletions
@@ -0,0 +1,7 @@
package hello
fun main(args : Array<String>) {
for (s in arrayList("a"))
println("Hello, $s!")
j.Java().f();
}
@@ -0,0 +1,14 @@
package j;
import java.lang.String;
import java.lang.System;
public class Java {
public void f() {
System.out.println("Java");
}
public static void main(String[] args) {
hello.HelloPackage.main(new String[] {});
}
}