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('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
|
|
|
}
|