Fix j2k tests failing if started after web demo tests

This commit is contained in:
Simon Ogorodnik
2017-08-31 16:05:54 +03:00
committed by Ilya Chernikov
parent e7ac8443ee
commit e23c26b5d1
+14
View File
@@ -52,3 +52,17 @@ projectTest {
}
testsJar()
val testForWebDemo by task<Test> {
include("**/*JavaToKotlinConverterForWebDemoTestGenerated*")
classpath = the<JavaPluginConvention>().sourceSets["test"].runtimeClasspath
workingDir = rootDir
}
val test: Test by tasks
test.apply {
exclude("**/*JavaToKotlinConverterForWebDemoTestGenerated*")
dependsOn(testForWebDemo)
}