Skip to content

Commit

Permalink
add work-around for gradle/gradle#5692
Browse files Browse the repository at this point in the history
  • Loading branch information
alpar-t committed Jun 11, 2018
1 parent 5445055 commit c7338af
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -348,7 +348,10 @@ class BuildPlugin implements Plugin<Project> {
// just a self contained test-fixture configuration, likely transitive and hellacious
return
}
configuration.resolutionStrategy.failOnVersionConflict()
configuration.resolutionStrategy {
failOnVersionConflict()
preferProjectModules()
}
})

// force all dependencies added directly to compile/testCompile to be non-transitive, except for ES itself
Expand Down

0 comments on commit c7338af

Please sign in to comment.