Browse Source

Remove JndiLookup.class from the SQL command line tool (#81879)

Chris Hegarty 3 years ago
parent
commit
3d5337d819
1 changed files with 1 additions and 0 deletions
  1. 1 0
      x-pack/plugin/sql/sql-cli/build.gradle

+ 1 - 0
x-pack/plugin/sql/sql-cli/build.gradle

@@ -46,6 +46,7 @@ tasks.named("shadowJar").configure {
   manifest {
     attributes 'Main-Class': 'org.elasticsearch.xpack.sql.cli.Cli'
   }
+  exclude '/org/apache/logging/log4j/core/lookup/JndiLookup.class'
 }
 
 tasks.named('forbiddenApisMain').configure {