gradle-testsets-plugin
gradle-testsets-plugin copied to clipboard
compileIntegrationTestJava can not find class in src/test/java
I'm trying to share code between src/test/java and src/integrationTest/java. I can't figure out how to set this up when using Kotlin. When I was using groovy it just worked...
testSets {
create("integrationTest") {
extendsFrom("unitTest")
}
tasks["check"].dependsOn("integrationTest")
tasks["integrationTest"].mustRunAfter("test")
}
My integration test classes that use class from src/test/java will fail to compile because they can't find the symbols. Any suggestions? Just to clarify, this is happen in a subproject of a multi-project gradle build.
sorry, it has been a long time I know hahahaa I am facing the same problem got any solutions for that?