Mercurial > hg > Database > Christie
annotate build.gradle @ 180:fbe20887ca9f
update config
author | akahori |
---|---|
date | Sat, 02 Feb 2019 11:40:31 +0900 |
parents | 7f4d8d228a9b |
children | 9697be80d1f6 |
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 | |
180 | 30 attributes 'Multi-Release': 'true' // https://stackoverflow.com/questions/53049346/is-log4j2-compatible-with-java-11 |
0 | 31 } |
178 | 32 |
0 | 33 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } |
34 archiveName = 'Christie.jar' | |
120 | 35 } |
36 | |
37 task christieStartTopologyManager(type: Jar) { | |
38 exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' | |
39 baseName = "ChristieStartTopologyManager" | |
40 manifest { | |
41 attributes 'Main-Class': 'christie.topology.manager.StartTopologyManager', | |
42 'Implementation-Title': 'StartTopologyManager', | |
43 'Implementation-Description': 'Quickstart', | |
44 'Implementation-Version': version, | |
45 'Assembly-Date': new java.util.Date().toString() | |
46 | |
47 } | |
48 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
49 with jar | |
50 } | |
51 | |
52 | |
53 task christieStartTorqueTestTopology(type: Jar) { | |
54 exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' | |
55 baseName = "ChristieStartTorqueTestTopology" | |
56 manifest { | |
57 attributes 'Main-Class': 'christie.test.topology.localTestTopology.StartTorqueTestTopology', | |
58 'Implementation-Title': 'christieStartTorqueTestTopology', | |
59 'Implementation-Description': 'Quickstart', | |
60 'Implementation-Version': version, | |
61 'Assembly-Date': new java.util.Date().toString() | |
62 | |
63 } | |
64 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
65 with jar | |
153 | 66 } |
67 | |
68 clean.doFirst { | |
69 delete "out" | |
70 } |