forked from t0xa/gelfj
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (33 loc) · 863 Bytes
/
build.gradle
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
27
28
29
30
31
32
33
34
35
36
37
38
39
buildscript {
repositories {
maven { url "http://repo.springsource.org/plugins-release" }
}
dependencies {
classpath("org.springframework.build.gradle:propdeps-plugin:0.0.5")
}
}
apply plugin: 'java'
apply plugin: 'propdeps'
apply plugin: 'propdeps-maven'
sourceCompatibility = 1.6
version = '1.1.8-SNAPSHOT'
jar {
manifest {
attributes 'Implementation-Title': 'GELF Java Implementation', 'Implementation-Version': version
}
}
repositories {
mavenCentral()
}
dependencies {
testCompile 'junit:junit:4.9'
testCompile 'com.google.guava:guava:18.0-rc1'
compile "log4j:log4j:1.2.17@jar"
compile "com.googlecode.json-simple:json-simple:1.1"
optional "com.rabbitmq:amqp-client:3.0.4"
}
task libDir(dependsOn: assemble, type: Copy) {
into('lib')
from configurations.runtime
from configurations.runtime.allArtifacts.file
}