OpenSearch/modules/benchmark/micro/build.gradle

27 lines
751 B
Groovy

dependsOn(':elasticsearch')
apply plugin: 'java'
archivesBaseName = "$rootProject.archivesBaseName-$project.archivesBaseName"
configurations.compile.transitive = true
configurations.testCompile.transitive = true
// no need to use the resource dir
sourceSets.main.resources.srcDirs 'src/main/java'
sourceSets.test.resources.srcDirs '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()
suiteName = project.name
listeners = ["org.elasticsearch.util.testng.Listeners"]
systemProperties["es.test.log.conf"] = System.getProperty("es.test.log.conf", "log4j-gradle.properties")
}