mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-28 10:58:30 +00:00
Replaces binary serialization protocol in JDBC driver with the common REST protocol. relates elastic/x-pack-elasticsearch#3419 Original commit: elastic/x-pack-elasticsearch@532c106658
31 lines
1.1 KiB
Groovy
31 lines
1.1 KiB
Groovy
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:rest-proto')
|
|
runtime "com.fasterxml.jackson.core:jackson-core:${versions.jackson}"
|
|
/* We want to limit these dependencies so we don't have a huge jar.
|
|
* Since we shadow these dependencies we don't have to be super careful
|
|
* but we have to be *somewhat* careful because things like commons logging
|
|
* don't shadow properly. */
|
|
}
|
|
|
|
dependencyLicenses {
|
|
mapping from: /shared-client.*/, to: 'elasticsearch'
|
|
mapping from: /jackson-.*/, to: 'jackson'
|
|
mapping from: /rest-proto.*/, to: 'elasticsearch'
|
|
mapping from: /lucene-.*/, to: 'lucene'
|
|
mapping from: /elasticsearch-core.*/, to: 'elasticsearch'
|
|
ignoreSha 'rest-proto'
|
|
ignoreSha 'shared-client'
|
|
ignoreSha 'elasticsearch'
|
|
ignoreSha 'elasticsearch-core'
|
|
}
|
|
|
|
// TODO: Restore shading when https://github.com/elastic/elasticsearch/pull/27955 gets in
|