Skip to content

Commit

Permalink
Add missing dependencies on testClasses (#30527)
Browse files Browse the repository at this point in the history
  • Loading branch information
alpar-t authored May 14, 2018
1 parent 6a8aa99 commit 9a55559
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions modules/repository-url/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 9a55559

Please sign in to comment.