elasticsearch/plugins/repository-hdfs/hadoop-client-api/build.gradle

17 lines
432 B
Groovy

apply plugin: 'elasticsearch.build'
apply plugin: 'com.github.johnrengelman.shadow'
dependencies {
implementation "org.apache.hadoop:hadoop-client-api:${project.parent.versions.hadoop}"
}
tasks.named('shadowJar').configure {
exclude 'org/apache/hadoop/util/ShutdownHookManager$*.class'
}
['jarHell', 'thirdPartyAudit', 'forbiddenApisMain', 'splitPackagesAudit'].each {
tasks.named(it).configure {
enabled = false
}
}