OpenSearch/x-pack/plugin/sql/sql-proto/build.gradle

31 lines
853 B
Groovy
Raw Normal View History

/*
* This project contains XContent protocol classes shared between server and http client
*/
apply plugin: 'elasticsearch.build'
description = 'Request and response objects shared by the cli, jdbc ' +
'and the Elasticsearch plugin'
dependencies {
compile(project(':libs:elasticsearch-core')) {
transitive = false
}
compile(project(':libs:elasticsearch-x-content')) {
transitive = false
}
runtime "com.fasterxml.jackson.core:jackson-core:${versions.jackson}"
testCompile project(":test:framework")
}
tasks.named('forbiddenApisMain').configure {
//sql does not depend on server, so only jdk signatures should be checked
replaceSignatureFiles 'jdk-signatures'
}
dependencyLicenses {
mapping from: /elasticsearch-core.*/, to: 'elasticsearch'
mapping from: /jackson-.*/, to: 'jackson'
ignoreSha 'elasticsearch-core'
}