OpenSearch/sql/test-utils/build.gradle
Nik Everett 0e8ef06947 Move sql's server stuff into :x-pack-elasticsearch:sql:server
This should make it easier to run stuff for just sql.

Original commit: elastic/x-pack-elasticsearch@d68465edb0
2017-06-29 14:31:23 -04:00

21 lines
692 B
Groovy

apply plugin: 'elasticsearch.build'
description = 'Shared test utilities for jdbc and cli projects'
dependencies {
compile "org.elasticsearch.client:transport:${version}"
compile "junit:junit:${versions.junit}"
compile "org.hamcrest:hamcrest-all:${versions.hamcrest}"
}
/* 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
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'
}