Mercurial > hg > Database > Christie
annotate build.gradle @ 153:93f2e5736e62
update build.gradle clean out
author | akahori |
---|---|
date | Tue, 08 Jan 2019 19:14:03 +0900 |
parents | d92f0bbad1eb |
children | 7f4d8d228a9b |
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' | |
22 | |
120 | 23 |
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 } | |
31 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
32 archiveName = 'Christie.jar' | |
120 | 33 } |
34 | |
35 task christieStartTopologyManager(type: Jar) { | |
36 exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' | |
37 baseName = "ChristieStartTopologyManager" | |
38 manifest { | |
39 attributes 'Main-Class': 'christie.topology.manager.StartTopologyManager', | |
40 'Implementation-Title': 'StartTopologyManager', | |
41 'Implementation-Description': 'Quickstart', | |
42 'Implementation-Version': version, | |
43 'Assembly-Date': new java.util.Date().toString() | |
44 | |
45 } | |
46 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
47 with jar | |
48 } | |
49 | |
50 | |
51 task christieStartTorqueTestTopology(type: Jar) { | |
52 exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' | |
53 baseName = "ChristieStartTorqueTestTopology" | |
54 manifest { | |
55 attributes 'Main-Class': 'christie.test.topology.localTestTopology.StartTorqueTestTopology', | |
56 'Implementation-Title': 'christieStartTorqueTestTopology', | |
57 'Implementation-Description': 'Quickstart', | |
58 'Implementation-Version': version, | |
59 'Assembly-Date': new java.util.Date().toString() | |
60 | |
61 } | |
62 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
63 with jar | |
153 | 64 } |
65 | |
66 clean.doFirst { | |
67 delete "out" | |
68 } |