2017-06-20 14:03:53 -04:00
|
|
|
apply plugin: 'elasticsearch.build'
|
|
|
|
|
2017-06-21 12:12:19 -04:00
|
|
|
description = 'Shared test utilities for jdbc and cli projects'
|
2017-06-20 14:03:53 -04:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile "org.elasticsearch.client:transport:${version}"
|
|
|
|
}
|
2017-06-21 12:12:19 -04:00
|
|
|
|
|
|
|
/* Elasticsearch traditionally disables this for test utilities because it is
|
|
|
|
* hard to configure and (hopefully) much less important for tests than
|
|
|
|
* production code. */
|
|
|
|
dependencyLicenses.enabled = false
|
2017-06-21 17:02:59 -04:00
|
|
|
|
|
|
|
forbiddenApisMain {
|
|
|
|
//we are using jdk-internal instead of jdk-non-portable to allow for com.sun.net.httpserver.* usage
|
|
|
|
bundledSignatures -= 'jdk-non-portable'
|
|
|
|
bundledSignatures += 'jdk-internal'
|
|
|
|
}
|