mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 03:45:02 +00:00
The `net-client` project contained more then just the `net-client`. It contains stuff like `SuppressForbidden` and `Strings` and `IOUtil` and other things shared between the CLI and JDBC. It also does contain the http client. Anyway, it makes more sense to call it `shared-client`, I think. Alos updated the copywrite dates on the files that I touched because they are all 2017 files. Removed some uses of `String.EMPTY` because they don't buy us anything and require an extra import. `""` is just one less step. Original commit: elastic/x-pack-elasticsearch@465c6445c4
34 lines
1.1 KiB
Groovy
34 lines
1.1 KiB
Groovy
import org.elasticsearch.gradle.test.RunTask
|
|
|
|
description = 'JDBC driver for Elasticsearch'
|
|
|
|
forbiddenApisMain {
|
|
// does not depend on core, so only jdk and http signatures should be checked
|
|
signaturesURLs = [this.class.getResource('/forbidden/jdk-signatures.txt')]
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':x-pack-elasticsearch:sql:shared-client')
|
|
compile project(':x-pack-elasticsearch:sql:jdbc-proto')
|
|
compile project(':x-pack-elasticsearch:sql:shared-proto')
|
|
/* We want to limit these dependencies so do not add anything to this list
|
|
* without serious consideration, and probably shading. */
|
|
}
|
|
|
|
dependencyLicenses {
|
|
mapping from: /jdbc-proto.*/, to: 'elasticsearch'
|
|
mapping from: /shared-client.*/, to: 'elasticsearch'
|
|
mapping from: /shared-proto.*/, to: 'elasticsearch'
|
|
ignoreSha 'jdbc-proto'
|
|
ignoreSha 'shared-client'
|
|
ignoreSha 'shared-proto'
|
|
}
|
|
|
|
jar {
|
|
// Bundle all dependencies into the jar.
|
|
from {
|
|
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
|
configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
}
|