Add test for KT-16298

This commit is contained in:
Alexey Tsvetkov
2017-04-17 16:20:49 +03:00
parent 0ed4b7f58a
commit b504f1eb45
@@ -478,4 +478,14 @@ class KotlinGradleIT: BaseGradleIT() {
assertContains(":compileKotlin", ":compileTestKotlin")
}
}
@Test
fun testCleanAfterIncrementalBuild() {
val project = Project("kotlinProject", "3.3")
val options = defaultBuildOptions().copy(incremental = true)
project.build("build", "clean", options = options) {
assertSuccessful()
}
}
}