Browse Source

SEC-2385: Polish Gradle Spring 4 usage doc

pull/64/head
Rob Winch 12 years ago
parent
commit
035067caf4
  1. 10
      docs/manual/src/asciidoc/index.adoc

10
docs/manual/src/asciidoc/index.adoc

@ -282,13 +282,13 @@ By default Gradle will use the newest version when resolving transitive versions @@ -282,13 +282,13 @@ By default Gradle will use the newest version when resolving transitive versions
[source,groovy]
[subs="verbatim,attributes"]
----
configurations.spring4TestRuntime {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.springframework') {
details.useVersion {spring4-version}
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.springframework') {
details.useVersion {spring4-version}
}
}
}
----
This will ensure that all the transitive dependencies of Spring Security use the Spring {spring4-version} modules.

Loading…
Cancel
Save