Skip to content

Commit

Permalink
Add test dependencies sources for testCompile
Browse files Browse the repository at this point in the history
Update the TestSourceSetDependenciesPlugin to consider testCompile
configurations.
  • Loading branch information
philwebb authored and cbeams committed Jan 4, 2013
1 parent 1c31f6a commit d52f883
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class TestSourceSetDependenciesPlugin implements Plugin<Project> {

private void collectProjectDependencies(Set<ProjectDependency> projectDependencies,
Project project) {
for(def configurationName in ["compile", "optional", "provided"]) {
for(def configurationName in ["compile", "optional", "provided", "testCompile"]) {
Configuration configuration = project.getConfigurations().findByName(configurationName)
if(configuration) {
configuration.dependencies.findAll { it instanceof ProjectDependency }.each {
Expand Down

0 comments on commit d52f883

Please sign in to comment.