23 lines
671 B
Groovy
23 lines
671 B
Groovy
usePlugin 'java'
|
|
|
|
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.8'
|
|
compile('org.slf4j:slf4j-log4j12:1.5.8') { transitive = false }
|
|
compile('log4j:log4j:1.2.15') { transitive = false }
|
|
}
|
|
|
|
test {
|
|
useTestNG()
|
|
options.systemProperties = ["es.test.log.conf": "log4j-gradle.properties"]
|
|
}
|