OpenSearch/modules/test/testng/build.gradle

23 lines
691 B
Groovy
Raw Normal View History

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
sourceSets.main.resources.srcDir 'src/main/java'
sourceSets.test.resources.srcDir 'src/test/java'
dependencies {
compile('org.testng:testng:5.10:jdk15') { transitive = false }
compile('org.slf4j:slf4j-api:1.5.11') { transitive = false }
compile('org.slf4j:slf4j-log4j12:1.5.11') { transitive = false }
2010-02-08 08:30:06 -05:00
compile('log4j:log4j:1.2.15') { transitive = false }
}
test {
useTestNG()
2010-04-02 08:47:27 -04:00
systemProperties['es.test.log.conf'] = 'log4j-gradle.properties'
2010-02-08 08:30:06 -05:00
}