Skip to content

Commit c1ed79f

Browse files
committed
Convert configurations.all to configurations.configureEach to use lazy API
1 parent 1450a11 commit c1ed79f

File tree

17 files changed

+17
-17
lines changed

17 files changed

+17
-17
lines changed

dd-java-agent/agent-profiling/profiling-ddprof/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies {
4141
}
4242

4343

44-
configurations.all {
44+
configurations.configureEach {
4545
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
4646
}
4747

dd-java-agent/instrumentation/axis2-1.3/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ apply from: "$rootDir/gradle/java.gradle"
1414

1515
addTestSuiteForDir('latestDepTest', 'test')
1616
addTestSuiteForDir('latestDepForkedTest', 'test')
17-
configurations.all {
17+
configurations.configureEach {
1818
// the version used by axis2 isn't available in a public repository - we don't need it, so exclude it
1919
exclude group: 'org.apache.woden', module: 'woden'
2020
// shut up about broken xml-api pom relocation

dd-java-agent/instrumentation/javax-xml/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repositories {
1414
}
1515
}
1616

17-
configurations.all {
17+
configurations.configureEach {
1818
// shut up about broken xml-api pom relocation
1919
resolutionStrategy {
2020
force 'xml-apis:xml-apis:1.4.01'

dd-java-agent/instrumentation/mule-4.5/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ configurations {
7171
latestMuleServices
7272
}
7373

74-
configurations.all {
74+
configurations.configureEach {
7575
exclude group: 'pull-parser', module: 'pull-parser'
7676

7777
resolutionStrategy {

dd-java-agent/instrumentation/owasp-esapi-2/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ muzzle {
77
}
88
}
99

10-
configurations.all {
10+
configurations.configureEach {
1111
// shut up about broken xml-api pom relocation
1212
resolutionStrategy {
1313
force 'xml-apis:xml-apis:1.4.01'

dd-java-agent/instrumentation/resteasy-appsec/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ addTestSuite('jettyAsyncTest')
2222
//check.dependsOn nettyTest, jettyAsyncTest
2323
// CI invocations are only for test/latestDepTest
2424
test.finalizedBy nettyTest, jettyAsyncTest
25-
configurations.all {
25+
configurations.configureEach {
2626
resolutionStrategy.deactivateDependencyLocking()
2727
}
2828
dependencies {

dd-java-agent/instrumentation/spark/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
}
44

55
apply from: "$rootDir/gradle/java.gradle"
6-
configurations.all {
6+
configurations.configureEach {
77
resolutionStrategy.deactivateDependencyLocking()
88
}
99
dependencies {

dd-java-agent/instrumentation/spark/spark_2.12/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ muzzle {
1313
assertInverse = true
1414
}
1515
}
16-
configurations.all {
16+
configurations.configureEach {
1717
resolutionStrategy.deactivateDependencyLocking()
1818
}
1919
apply from: "$rootDir/gradle/java.gradle"

dd-java-agent/instrumentation/spark/spark_2.13/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ext {
3333
// Spark does not support Java > 11 until 3.3.0 https://issues.apache.org/jira/browse/SPARK-33772
3434
maxJavaVersionForTests = JavaVersion.VERSION_11
3535
}
36-
configurations.all {
36+
configurations.configureEach {
3737
resolutionStrategy.deactivateDependencyLocking()
3838
}
3939
dependencies {

dd-java-agent/instrumentation/sslsocket/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ apply from: "$rootDir/gradle/java.gradle"
88

99
// IBM8 is having troubles with TLS set up by jetty 9.4.
1010
// As a temporary workaround we used a lower jetty version for ssl socket tests
11-
configurations.all {
11+
configurations.configureEach {
1212
resolutionStrategy {
1313
force group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.2.30.v20200428'
1414
}

0 commit comments

Comments
 (0)