Skip to content

Commit 3fca6bd

Browse files
authored
fix dependency conflict and jar hell (opensearch-project#4405)
Signed-off-by: Jiaping Zeng <[email protected]>
1 parent 4455206 commit 3fca6bd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,15 @@ subprojects {
105105
resolutionStrategy.force "io.netty:netty-resolver:${versions.netty}"
106106
resolutionStrategy.force "io.netty:netty-transport:${versions.netty}"
107107
resolutionStrategy.force "io.netty:netty-transport-native-unix-common:${versions.netty}"
108+
resolutionStrategy.force "software.amazon.awssdk:bom:${versions.aws}"
109+
resolutionStrategy.force "software.amazon.awssdk:kms:${versions.aws}"
110+
resolutionStrategy.force "software.amazon.awssdk:dynamodb:${versions.aws}"
111+
resolutionStrategy.force "software.amazon.awssdk:dynamodb-enhanced:${versions.aws}"
112+
resolutionStrategy.force "org.dafny:DafnyRuntime:4.9.0"
113+
}
114+
115+
configurations.all {
116+
exclude group: 'org.bouncycastle', module: 'bcprov-jdk18on'
108117
}
109118

110119
apply plugin: 'com.diffplug.spotless'

0 commit comments

Comments
 (0)