Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
buildscript {
ext {
opensearch_version = System.getProperty("opensearch.version", "1.3.4-SNAPSHOT")
spring_version = "5.3.22"
jackson_version = "2.13.2"
jackson_databind_version = "2.13.2.2"
}

repositories {
Expand Down Expand Up @@ -123,6 +126,10 @@ subprojects {
"org.checkstyle.google.suppressionfilter.config": rootProject.file("config/checkstyle/suppressions.xml")]
ignoreFailures = false
}

configurations.all {
resolutionStrategy.force "com.fasterxml.jackson.core:jackson-databind:${jackson_databind_version}"
}
}
checkstyle {
configFile file("config/checkstyle/checkstyle.xml")
Expand Down
6 changes: 3 additions & 3 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ repositories {

dependencies {
compile group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
compile group: 'org.springframework', name: 'spring-context', version: '5.2.20.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.20.RELEASE'
compile group: 'org.springframework', name: 'spring-context', version: "${spring_version}"
compile group: 'org.springframework', name: 'spring-beans', version: "${spring_version}"
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
compile group: 'com.facebook.presto', name: 'presto-matching', version: '0.240'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
compile project(':common')

testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
testCompile group: 'org.hamcrest', name: 'hamcrest-library', version: '2.1'
testCompile group: 'org.springframework', name: 'spring-test', version: '5.2.20.RELEASE'
testCompile group: 'org.springframework', name: 'spring-test', version: "${spring_version}"
testCompile group: 'org.mockito', name: 'mockito-core', version: '3.3.3'
testCompile group: 'org.mockito', name: 'mockito-junit-jupiter', version: '3.3.3'
}
Expand Down
6 changes: 3 additions & 3 deletions opensearch/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ dependencies {
compile project(':core')
compile group: 'org.opensearch', name: 'opensearch', version: "${opensearch_version}"
compile "io.github.resilience4j:resilience4j-retry:1.5.0"
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.13.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.13.2'
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.13.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: "${jackson_version}"
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${jackson_databind_version}"
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: "${jackson_version}"
compile group: 'org.json', name: 'json', version:'20180813'
compileOnly group: 'org.opensearch.client', name: 'opensearch-rest-high-level-client', version: "${opensearch_version}"
compile group: 'org.opensearch', name:'opensearch-ml-client', version: '1.3.4.0-SNAPSHOT'
Expand Down
2 changes: 1 addition & 1 deletion plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ configurations.all {
}

dependencies {
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.20.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: "${spring_version}"
compile project(":ppl")
compile project(':legacy')
compile project(':opensearch')
Expand Down
4 changes: 2 additions & 2 deletions ppl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ dependencies {
compile group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
compile group: 'org.opensearch', name: 'opensearch-x-content', version: "${opensearch_version}"
compile group: 'org.json', name: 'json', version: '20180813'
compile group: 'org.springframework', name: 'spring-context', version: '5.2.20.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.20.RELEASE'
compile group: 'org.springframework', name: 'spring-context', version: "${spring_version}"
compile group: 'org.springframework', name: 'spring-beans', version: "${spring_version}"
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.17.1'
compile project(':common')
compile project(':core')
Expand Down
6 changes: 3 additions & 3 deletions protocol/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ plugins {

dependencies {
compile group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.13.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.13.2'
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.13.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: "${jackson_version}"
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${jackson_databind_version}"
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: "${jackson_version}"
implementation 'com.google.code.gson:gson:2.8.9'
compile project(':core')
compile project(':opensearch')
Expand Down
2 changes: 1 addition & 1 deletion sql-jdbc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ repositories {

dependencies {
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.6'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.6'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.13.2.2'
implementation group: 'com.amazonaws', name: 'aws-java-sdk-core', version: '1.11.452'

testImplementation('org.junit.jupiter:junit-jupiter-api:5.3.1')
Expand Down
4 changes: 2 additions & 2 deletions sql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ dependencies {
compile "org.antlr:antlr4-runtime:4.7.1"
implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
compile group: 'org.json', name: 'json', version:'20180813'
compile group: 'org.springframework', name: 'spring-context', version: '5.2.20.RELEASE'
compile group: 'org.springframework', name: 'spring-beans', version: '5.2.20.RELEASE'
compile group: 'org.springframework', name: 'spring-context', version: "${spring_version}"
compile group: 'org.springframework', name: 'spring-beans', version: "${spring_version}"
compile project(':common')
compile project(':core')
compile project(':protocol')
Expand Down