Added multi-module tests on incremental compilation.

Changing code wasn't required, Java's incremental caches were enough.
This commit is contained in:
Evgeny Gerashchenko
2014-11-12 20:19:02 +03:00
parent baea660a0b
commit 967f470b16
29 changed files with 231 additions and 2 deletions
@@ -0,0 +1,15 @@
Cleaning output files:
out/production/module1/a/A.class
out/production/module1/a/APackage$module1_a$*.class
out/production/module1/a/APackage.class
End of files
Compiling files:
module1/src/module1_a.kt
End of files
Cleaning output files:
out/production/module2/b/BPackage$module2_b$*.class
out/production/module2/b/BPackage.class
End of files
Compiling files:
module2/src/module2_b.kt
End of files
@@ -0,0 +1,3 @@
module1->
module2->module1
module3->module2
@@ -0,0 +1,6 @@
package a
class A
fun a() {
}
@@ -0,0 +1,7 @@
package a
class A
fun a(): String {
return ":)"
}
@@ -0,0 +1,9 @@
package b
fun b(param: a.A) {
a.a()
}
fun bb() {
}
@@ -0,0 +1,5 @@
package c
fun c() {
b.bb()
}