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

29 lines
789 B
Groovy

/*
* 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 {
api(project(':libs:elasticsearch-core')) {
transitive = false
}
api( project(':libs:elasticsearch-x-content')) {
transitive = false
}
runtimeOnly "com.fasterxml.jackson.core:jackson-core:${versions.jackson}"
testImplementation project(":test:framework")
}
tasks.named('forbiddenApisMain').configure {
//sql does not depend on server, so only jdk signatures should be checked
replaceSignatureFiles 'jdk-signatures'
}
tasks.named("dependencyLicenses").configure {
mapping from: /jackson-.*/, to: 'jackson'
}