/* * This file was generated by the Gradle 'init' task. */ plugins { id 'org.opensearch.migrations.java-application-conventions' id("io.freefair.lombok") version "8.0.1" id 'org.owasp.dependencycheck' version '8.2.1' } configurations { // This is included to load certs and keys. Doing it again isn't currently worth it. opensearchSecurityPlugin } dependencies { implementation 'org.opensearch.plugin:opensearch-security:2.6.0.0' opensearchSecurityPlugin 'org.opensearch.plugin:opensearch-security:2.6.0.0' implementation files(zipTree("$configurations.opensearchSecurityPlugin.singleFile").matching { include "*.jar" exclude "slf*.jar" }) implementation project(':captureOffloader') implementation project(':nettyWireLogging') implementation project(':captureKafkaOffloader') implementation group: 'io.netty', name: 'netty-all', version: '4.1.89.Final' implementation 'org.opensearch:opensearch-common:2.6.0' implementation 'org.opensearch:opensearch-core:2.6.0' implementation 'org.opensearch:opensearch:2.8.0' implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.20.0' implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.20.0' implementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j2-impl', version: '2.20.0' implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.7' implementation group: 'com.beust', name: 'jcommander', version: '1.82' implementation 'com.google.protobuf:protobuf-java:3.22.2' testImplementation project(':captureProtobufs') testImplementation project(path: ':testUtilities') } tasks.withType(Tar){ duplicatesStrategy = DuplicatesStrategy.EXCLUDE } tasks.withType(Zip){ duplicatesStrategy = DuplicatesStrategy.EXCLUDE } application { // Define the main class for the application. mainClass = 'org.opensearch.migrations.trafficcapture.proxyserver.Main' }