فهرست منبع

SEC-2385: Polish Gradle Spring 4 usage doc

Rob Winch 11 سال پیش
والد
کامیت
035067caf4
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      docs/manual/src/asciidoc/index.adoc

+ 5 - 5
docs/manual/src/asciidoc/index.adoc

@@ -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.