49 lines
837 B
Groovy
49 lines
837 B
Groovy
group='com.tail'
|
|
version='0.0.1'
|
|
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'maven'
|
|
apply plugin: 'java'
|
|
apply plugin: 'application'
|
|
|
|
mainClassName = 'org.mongo.runner.ShardedReplicaTailer'
|
|
|
|
sourceCompatibility = 1.7
|
|
targetCompatibility = sourceCompatibility
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile (
|
|
|
|
'org.mongodb:mongo-java-driver:2.12.2',
|
|
'com.rabbitmq:amqp-client:3.3.5',
|
|
'commons-lang:commons-lang:2.5',
|
|
'com.google.guava:guava:17.0'
|
|
|
|
)
|
|
|
|
|
|
testCompile (
|
|
'junit:junit:4.11',
|
|
'org.mockito:mockito-all:1.9.5'
|
|
)
|
|
}
|
|
|
|
test{
|
|
maxHeapSize = "512m"
|
|
}
|
|
|
|
run {
|
|
if(project.hasProperty('args')){
|
|
args project.args.split('\\s')
|
|
}
|
|
}
|
|
|
|
task wrapper(type: Wrapper) {
|
|
gradleVersion = '1.3'
|
|
distributionUrl = 'http://resolver/gradle-distributions-cache/gradle-1.3-bin.zip'
|
|
}
|