Mercurial > hg > Database > Christie
annotate build.gradle @ 178:7f4d8d228a9b
add log4j2
author | akahori |
---|---|
date | Fri, 01 Feb 2019 19:26:51 +0900 |
parents | 93f2e5736e62 |
children | fbe20887ca9f |
rev | line source |
---|---|
0 | 1 apply plugin: 'java' |
1
3ea61d0bfc34
add dependency proccess but not work
Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
2 apply plugin: 'eclipse' |
3ea61d0bfc34
add dependency proccess but not work
Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
3 apply plugin: 'maven' |
0 | 4 |
107 | 5 sourceCompatibility = 11; |
6 targetCompatibility = 11; | |
0 | 7 |
8 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' | |
9 group = 'cr.ie.u_ryukyu.ac.jp' | |
10 version = '1.0' | |
11 | |
12 repositories { | |
13 mavenCentral() | |
14 } | |
15 | |
16 dependencies { | |
12
b49a926cbdd9
add RemotePutTest and that is working
Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
17 compile fileTree(dir: 'lib', include: '*.jar') |
107 | 18 testCompile('org.junit.jupiter:junit-jupiter-api:5.2.0') |
123 | 19 //compile group: 'org.msgpack', name: 'msgpack-core', version: '0.8.16' |
20 //compile group: 'org.msgpack', name: 'jackson-dataformat-msgpack', version: '0.8.16' | |
21 compile group: 'org.msgpack', name: 'msgpack', version: '0.6.12' | |
178 | 22 compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.1' |
23 compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.1' | |
0 | 24 } |
25 | |
26 jar { | |
27 exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' | |
28 manifest { | |
29 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version | |
30 } | |
178 | 31 |
0 | 32 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } |
33 archiveName = 'Christie.jar' | |
120 | 34 } |
35 | |
36 task christieStartTopologyManager(type: Jar) { | |
37 exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' | |
38 baseName = "ChristieStartTopologyManager" | |
39 manifest { | |
40 attributes 'Main-Class': 'christie.topology.manager.StartTopologyManager', | |
41 'Implementation-Title': 'StartTopologyManager', | |
42 'Implementation-Description': 'Quickstart', | |
43 'Implementation-Version': version, | |
44 'Assembly-Date': new java.util.Date().toString() | |
45 | |
46 } | |
47 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
48 with jar | |
49 } | |
50 | |
51 | |
52 task christieStartTorqueTestTopology(type: Jar) { | |
53 exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' | |
54 baseName = "ChristieStartTorqueTestTopology" | |
55 manifest { | |
56 attributes 'Main-Class': 'christie.test.topology.localTestTopology.StartTorqueTestTopology', | |
57 'Implementation-Title': 'christieStartTorqueTestTopology', | |
58 'Implementation-Description': 'Quickstart', | |
59 'Implementation-Version': version, | |
60 'Assembly-Date': new java.util.Date().toString() | |
61 | |
62 } | |
63 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
64 with jar | |
153 | 65 } |
66 | |
67 clean.doFirst { | |
68 delete "out" | |
69 } |