diff --git a/ml-algorithms/build.gradle b/ml-algorithms/build.gradle index 68f89641c7..ec14de30e9 100644 --- a/ml-algorithms/build.gradle +++ b/ml-algorithms/build.gradle @@ -33,6 +33,10 @@ dependencies { implementation group: 'org.apache.commons', name: 'commons-text', version: '1.10.0' } +configurations.all { + resolutionStrategy.force 'com.google.protobuf:protobuf-java:3.21.9' +} + jacocoTestReport { reports { xml.enabled false diff --git a/plugin/build.gradle b/plugin/build.gradle index e9b3a7ba11..ef9da2e10c 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -255,6 +255,7 @@ configurations.all { resolutionStrategy.force 'org.apache.commons:commons-lang3:3.10' resolutionStrategy.force 'commons-logging:commons-logging:1.2' resolutionStrategy.force 'org.apache.commons:commons-text:1.10.0' + resolutionStrategy.force 'com.google.protobuf:protobuf-java:3.21.9' // Resolve conflict with org.opensearch:opensearch:1.3.4-SNAPSHOT which using 2.13.2 // resolutionStrategy.force 'com.fasterxml.jackson.core:jackson-databind:2.13.2.2' }