1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
project.buildDir = syslogBuildDir+'/elastic-v2/gradle'
configurations {
jest
slf4j
}
dependencies {
compile 'org.elasticsearch:elasticsearch:2.2.0'
compile 'org.elasticsearch.plugin:shield:2.2.0'
compile 'io.searchbox:jest:2.0.2'
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.13'
compile name: 'syslog-ng-common'
compile name: 'syslog-ng-core'
compile 'junit:junit:4.12'
compile 'org.hamcrest:hamcrest-core:1.3'
compile 'log4j:log4j:1.2.17'
jest 'io.searchbox:jest:2.0.2'
slf4j group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.13'
}
ext.jarDestDir = project.hasProperty('jarDestDir') ? project.getProperty('jarDestDir') : '/'
task copyJestRuntimeDeps(type: Copy) {
from configurations.jest, configurations.slf4j
into jarDestDir+'/elastic-jest-client'
}
|