Skip to content

Commit

Permalink
fix version mismatch with opensearch core (#2800)
Browse files Browse the repository at this point in the history
Signed-off-by: Hailong Cui <[email protected]>
  • Loading branch information
Hailong-am authored Aug 5, 2024
1 parent a436a94 commit 90f3f3d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.opensearch.gradle.VersionProperties

/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
Expand Down Expand Up @@ -79,6 +81,9 @@ allprojects {
plugins.withId('jacoco') {
jacoco.toolVersion = '0.8.10'
}

project.getExtensions().getExtraProperties().set("versions", VersionProperties.getVersions());

}

subprojects {
Expand Down
2 changes: 1 addition & 1 deletion memory/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ plugins {
dependencies {
implementation project(path: ":${rootProject.name}-common", configuration: 'shadow')
implementation group: 'org.opensearch', name: 'opensearch', version: "${opensearch_version}"
implementation group: 'org.apache.httpcomponents.core5', name: 'httpcore5', version: '5.2.2'
implementation group: 'org.apache.httpcomponents.core5', name: 'httpcore5', version: "${versions.httpcore5}"
implementation "org.opensearch:common-utils:${common_utils_version}"
implementation group: 'com.google.guava', name: 'guava', version: '32.1.2-jre'
testImplementation (group: 'junit', name: 'junit', version: '4.13.2') {
Expand Down
2 changes: 1 addition & 1 deletion search-processors/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies {
implementation project(':opensearch-ml-memory')
implementation group: 'org.opensearch', name: 'common-utils', version: "${common_utils_version}"
// https://mvnrepository.com/artifact/org.apache.httpcomponents.core5/httpcore5
implementation group: 'org.apache.httpcomponents.core5', name: 'httpcore5', version: '5.2.2'
implementation group: 'org.apache.httpcomponents.core5', name: 'httpcore5', version: "${versions.httpcore5}"
implementation group: 'com.google.guava', name: 'guava', version: '32.1.2-jre'
implementation group: 'org.json', name: 'json', version: '20231013'
implementation group: 'org.apache.commons', name: 'commons-text', version: '1.10.0'
Expand Down

0 comments on commit 90f3f3d

Please sign in to comment.