36 lines
1011 B
Groovy
36 lines
1011 B
Groovy
|
|
/*
|
|
* This project contains XContent protocol classes shared between server and http client
|
|
*/
|
|
|
|
import org.elasticsearch.gradle.precommit.PrecommitTasks
|
|
|
|
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:x-content')) {
|
|
transitive = false
|
|
}
|
|
compile 'joda-time:joda-time:2.9.9'
|
|
runtime "com.fasterxml.jackson.core:jackson-core:${versions.jackson}"
|
|
|
|
testCompile "org.elasticsearch.test:framework:${version}"
|
|
}
|
|
|
|
forbiddenApisMain {
|
|
//sql does not depend on server, so only jdk signatures should be checked
|
|
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
|
|
}
|
|
|
|
dependencyLicenses {
|
|
mapping from: /elasticsearch-core.*/, to: 'elasticsearch'
|
|
mapping from: /jackson-.*/, to: 'jackson'
|
|
ignoreSha 'elasticsearch-core'
|
|
}
|