2010-02-08 08:30:06 -05:00
|
|
|
dependsOn(':elasticsearch')
|
|
|
|
|
2010-04-02 08:47:27 -04:00
|
|
|
apply plugin: 'java'
|
2010-02-08 08:30:06 -05:00
|
|
|
|
|
|
|
archivesBaseName = "$rootProject.archivesBaseName-$project.archivesBaseName"
|
|
|
|
|
|
|
|
configurations.compile.transitive = true
|
|
|
|
configurations.testCompile.transitive = true
|
|
|
|
|
|
|
|
// no need to use the resource dir
|
2010-04-20 18:17:19 -04:00
|
|
|
sourceSets.main.resources.srcDirs 'src/main/java'
|
|
|
|
sourceSets.test.resources.srcDirs 'src/test/java'
|
2010-02-08 08:30:06 -05:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':elasticsearch')
|
|
|
|
|
|
|
|
testCompile('org.testng:testng:5.10:jdk15') { transitive = false }
|
|
|
|
testCompile 'org.hamcrest:hamcrest-all:1.1'
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useTestNG()
|
2010-04-02 08:47:27 -04:00
|
|
|
suiteName = project.name
|
|
|
|
listeners = ["org.elasticsearch.util.testng.Listeners"]
|
|
|
|
systemProperties["es.test.log.conf"] = System.getProperty("es.test.log.conf", "log4j-gradle.properties")
|
2010-02-08 08:30:06 -05:00
|
|
|
}
|