Fix j2k tests failing if started after web demo tests
This commit is contained in:
committed by
Ilya Chernikov
parent
e7ac8443ee
commit
e23c26b5d1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user