From a866af2ba5128e6231fba2cd3af203b1bbd52cf8 Mon Sep 17 00:00:00 2001 From: zane-neo Date: Fri, 24 Nov 2023 18:50:59 +0800 Subject: [PATCH] change gradle Signed-off-by: zane-neo --- ml-algorithms/build.gradle | 11 ----------- plugin/build.gradle | 3 --- .../ml/autoredeploy/MLModelAutoReDeployer.java | 1 - 3 files changed, 15 deletions(-) diff --git a/ml-algorithms/build.gradle b/ml-algorithms/build.gradle index 240da67edc..9483f13bb6 100644 --- a/ml-algorithms/build.gradle +++ b/ml-algorithms/build.gradle @@ -71,26 +71,15 @@ dependencies { exclude module: 'spark' exclude module: 'common' exclude module: 'core' - exclude module: 'protocol' - exclude module: 'opensearch' - } - implementation(group: 'opensearch-sql', name: 'ppl', version: "${common_utils_version}") { - exclude module: 'common' - exclude module: 'core' - exclude module: 'protocol' exclude module: 'opensearch' exclude group: 'org.reflections', module: 'reflections' exclude group: 'com.google.guava', module: 'guava' exclude group: 'org.json', module: 'json' - } - implementation(group: 'opensearch-sql', name: 'protocol', version: "${common_utils_version}") { exclude group: 'com.google.guava', module: 'guava' exclude group: 'com.fasterxml.jackson.core', module: 'jackson-core' exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind' exclude group: 'com.fasterxml.jackson.dataformat', module: 'jackson-dataformat-cbor' exclude group: 'com.google.code.gson', module: 'gson' - exclude module: 'core' - exclude module: 'opensearch' } } diff --git a/plugin/build.gradle b/plugin/build.gradle index 33a9b0e508..88fe1e24ed 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -329,9 +329,6 @@ configurations.all { resolutionStrategy.force 'org.apache.httpcomponents:httpclient:4.5.14' resolutionStrategy.force 'commons-codec:commons-codec:1.15' resolutionStrategy.force 'org.slf4j:slf4j-api:1.7.36' -// resolutionStrategy.force 'com.fasterxml.jackson.core:jackson-annotations:2.16.0' -// resolutionStrategy.force 'org.opensearch.client:opensearch-rest-client:2.12.0-SNAPSHOT' -// resolutionStrategy.force 'com.fasterxml.jackson.core:jackson-databind:2.16.0' } apply plugin: 'com.netflix.nebula.ospackage' diff --git a/plugin/src/main/java/org/opensearch/ml/autoredeploy/MLModelAutoReDeployer.java b/plugin/src/main/java/org/opensearch/ml/autoredeploy/MLModelAutoReDeployer.java index 2d06aad338..ff774ac0be 100644 --- a/plugin/src/main/java/org/opensearch/ml/autoredeploy/MLModelAutoReDeployer.java +++ b/plugin/src/main/java/org/opensearch/ml/autoredeploy/MLModelAutoReDeployer.java @@ -18,7 +18,6 @@ import java.util.function.Consumer; import java.util.stream.Collectors; -import lombok.Setter; import org.opensearch.action.search.SearchAction; import org.opensearch.action.search.SearchRequestBuilder; import org.opensearch.action.search.SearchResponse;