Skip to content

Commit 15d7a3d

Browse files
committed
'all' configuration
1 parent a0cefed commit 15d7a3d

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

sdks/java/io/cassandra/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ dependencies {
5252
testRuntimeOnly project(path: ":runners:direct-java", configuration: "shadow")
5353
}
5454

55-
configurations.testRuntime {
55+
// Cassandra dependencies require old version of Guava (BEAM-11626)
56+
configurations.all {
5657
resolutionStrategy {
5758
force 'com.google.guava:guava:25.1-jre'
5859
}

sdks/java/io/hadoop-file-system/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ hadoopVersions.each {kv ->
7474
}
7575
}
7676

77-
configurations.testRuntime {
77+
// Hadoop dependencies require old version of Guava (BEAM-11626)
78+
configurations.all {
7879
resolutionStrategy {
7980
force 'com.google.guava:guava:25.1-jre'
8081
}

sdks/java/io/hadoop-format/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ hadoopVersions.each {kv ->
128128
}
129129
}
130130

131-
configurations.testRuntime {
131+
// Hadoop dependencies require old version of Guava (BEAM-11626)
132+
configurations.all {
132133
resolutionStrategy {
133134
force 'com.google.guava:guava:25.1-jre'
134135
}

0 commit comments

Comments
 (0)