Add missing dependencies on testClasses (#30527)
This commit is contained in:
parent
6a8aa99e3f
commit
9a5555963b
|
@ -744,6 +744,7 @@ class BuildPlugin implements Plugin<Project> {
|
|||
additionalTest.testClassesDir = test.testClassesDir
|
||||
additionalTest.configure(commonTestConfig(project))
|
||||
additionalTest.configure(config)
|
||||
additionalTest.dependsOn(project.tasks.testClasses)
|
||||
test.dependsOn(additionalTest)
|
||||
});
|
||||
return test
|
||||
|
|
|
@ -34,6 +34,7 @@ File repositoryDir = new File(project.buildDir, "shared-repository")
|
|||
|
||||
/** A task to start the URLFixture which exposes the repositoryDir over HTTP **/
|
||||
task urlFixture(type: AntFixture) {
|
||||
dependsOn testClasses
|
||||
doFirst {
|
||||
repositoryDir.mkdirs()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue