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 }
|
2010-04-20 17:57:11 -04:00
|
|
|
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
|
|
|
}
|