File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import java.nio.file.Paths
66import java.util.concurrent.Callable
77import java.util.stream.Collectors
88
9+
910buildscript {
1011 ext {
1112 opensearch_version = System . getProperty(" opensearch.version" , " 3.1.0-SNAPSHOT" )
@@ -28,14 +29,24 @@ buildscript {
2829 mavenCentral()
2930 maven { url " https://plugins.gradle.org/m2/" }
3031 }
32+ configurations. all {
33+ resolutionStrategy {
34+ force ' org.apache.httpcomponents.client5:httpclient5:5.4.3'
35+ }
36+ }
37+
3138 configurations. all {
3239 resolutionStrategy. eachDependency { DependencyResolveDetails details ->
33- if (details. requested. group == ' org.apache.httpcomponents.client5' && details. requested. name == ' httpclient5' ) {
34- details. useVersion ' 5.4.3'
40+ if (details. requested. group == ' commons-beanutils' ) {
41+ details. useVersion ' 1.11.0'
42+ }
43+ if (details. requested. group == ' org.apache.commons' && details. requested. name == ' commons-beanutils2' ) {
44+ details. useVersion ' 2.0.0-M2'
3545 }
3646 }
3747 }
3848
49+
3950 dependencies {
4051 classpath " org.opensearch.gradle:build-tools:${ opensearch_version} "
4152 }
You can’t perform that action at this time.
0 commit comments