OpenSearch/sql/test-utils/build.gradle

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'
}