OpenSearch/modules/benchmark/micro/build.gradle

27 lines
771 B
Groovy

dependsOn(':elasticsearch')
usePlugin 'java'
archivesBaseName = "$rootProject.archivesBaseName-$project.archivesBaseName"
configurations.compile.transitive = true
configurations.testCompile.transitive = true
// no need to use the resource dir
sourceSets.main.resources.srcDir 'src/main/java'
sourceSets.test.resources.srcDir 'src/test/java'
dependencies {
compile project(':elasticsearch')
testCompile('org.testng:testng:5.10:jdk15') { transitive = false }
testCompile 'org.hamcrest:hamcrest-all:1.1'
}
test {
useTestNG()
options.suiteName = project.name
options.listeners = ["org.elasticsearch.util.testng.Listeners"]
options.systemProperties = ["es.test.log.conf": System.getProperty("es.test.log.conf", "log4j-gradle.properties")]
}