From ebb31b28eec318932baa82302ad4921a319fc762 Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Tue, 12 Mar 2024 01:10:09 +0800 Subject: [PATCH] Grace: optimize shell dependencies --- grace-shell/build.gradle | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/grace-shell/build.gradle b/grace-shell/build.gradle index 75011ed521..ad3702b691 100644 --- a/grace-shell/build.gradle +++ b/grace-shell/build.gradle @@ -12,23 +12,26 @@ ext { } configurations { - dependenciesBom + dependenciesBom runtimeClasspath { exclude group: 'commons-codec', module: 'commons-codec' exclude group: 'com.github.ben-manes.caffeine', module: 'caffeine' exclude group: 'com.google.errorprone', module: 'error_prone_annotations' + exclude group: 'com.vaadin.external.google', module: 'android-json' + exclude group: 'io.micrometer' exclude group: 'jakarta.annotation', module: 'jakarta.annotation-api' exclude group: 'jakarta.inject', module: 'jakarta.inject-api' - exclude group: 'javax.annotation', module: 'javax.annotation-api' exclude group: 'javax.inject', module: 'javax.inject' - exclude group: 'javax.persistence', module: 'javax.persistence-api' - exclude group: 'javax.transaction', module: 'javax.transaction-api' + exclude group: 'net.sf.jopt-simple', module: 'jopt-simple' exclude group: 'org.checkerframework', module: 'checker-qual' exclude group: 'org.apache.ant', module: 'ant-antlr' exclude group: 'org.apache.ant', module: 'ant-junit' exclude group: 'org.apache.commons', module: 'commons-compress' - exclude group: 'org.codehaus.groovy', module: 'groovy-groovydoc' - exclude group: 'org.codehaus.groovy', module: 'groovy-jmx' + exclude group: 'org.apache.commons', module: 'commons-lang3' + exclude group: 'org.apache.groovy', module: 'groovy-groovydoc' + exclude group: 'org.apache.groovy', module: 'groovy-jmx' + exclude group: 'org.apache.httpcomponents' + exclude group: 'org.apache.httpcomponents.client5' exclude group: 'org.codehaus.plexus', module: 'plexus-classworlds' exclude group: 'org.codehaus.plexus', module: 'plexus-component-annotations' exclude group: 'org.codehaus.plexus', module: 'plexus-sec-dispatcher' @@ -39,6 +42,7 @@ configurations { exclude group: 'org.springframework', module: 'spring-tx' exclude group: 'org.springframework', module: 'spring-web' exclude group: 'org.springframework.boot', module: 'spring-boot-autoconfigure' + exclude group: 'org.springframework.security', module: 'spring-security-crypto' } }