Mercurial > hg > Members > tatsuki > bbs
comparison build.gradle @ 11:edc70340506d draft default tip
networkbenchmark jar log4j conflict
author | suruga |
---|---|
date | Wed, 19 Apr 2017 21:36:44 +0900 |
parents | 6c584862fe93 |
children |
comparison
equal
deleted
inserted
replaced
10:5043bf695419 | 11:edc70340506d |
---|---|
12 } | 12 } |
13 | 13 |
14 dependencies { | 14 dependencies { |
15 compile fileTree(dir: 'lib', include: '*.jar') | 15 compile fileTree(dir: 'lib', include: '*.jar') |
16 compile "commons-collections:commons-collections:3.2.1" | 16 compile "commons-collections:commons-collections:3.2.1" |
17 compile "org.apache.maven.surefire:surefire-junit4:2.13" | 17 //compile "org.apache.maven.surefire:surefire-junit4:2.13" |
18 compile "com.google.guava:guava:12.0" | 18 //compile "com.google.guava:guava:12.0" |
19 compile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.3.13.v20161014' | 19 compile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.3.13.v20161014' |
20 compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.3.13.v20161014' | 20 compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.3.13.v20161014' |
21 compile group: 'org.eclipse.jetty', name: 'jetty-webapp', version: '9.3.13.v20161014' | 21 compile group: 'org.eclipse.jetty', name: 'jetty-webapp', version: '9.3.13.v20161014' |
22 compile group: 'junit', name: 'junit', version: '4.11' | 22 compile group: 'junit', name: 'junit', version: '4.11' |
23 compile group: 'org.hectorclient', name: 'hector-core', version: '1.1-2' | 23 compile group: 'org.hectorclient', name: 'hector-core', version: '1.1-2' |
24 compile group: 'org.apache.cassandra', name: 'cassandra-all', version: '3.9' | 24 compile group: 'org.apache.cassandra', name: 'cassandra-all', version: '3.9' |
25 compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'jungle-core', version: '1.0', ext: 'jar' | 25 compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'jungle-core', version: '1.0', ext: 'jar' |
26 compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'Alice', version: '1.1', ext: 'jar' | 26 compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'Alice', version: '1.1', ext: 'jar' |
27 jar { | 27 jar { |
28 manifest { | 28 manifest { |
29 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version | 29 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version |
30 } | 30 } |
31 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | 31 //from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } |
32 } | 32 } |
33 uploadArchives { | |
34 repositories { | |
35 flatDir { | |
36 dirs '.' | |
37 } | |
38 } | |
39 } | |
40 } | |
33 | 41 |
34 uploadArchives { | 42 task NetworkBenchmark(type: Jar) { |
35 repositories { | 43 exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA' |
36 flatDir { | 44 baseName = "networkBenchmark" |
37 dirs '.' | 45 manifest { |
38 } | 46 attributes( |
47 "Main-Class": 'jp.ac.u_ryukyu.ie.cr.jungle.networkBenchmark.NetworkBenchmark', | |
48 "Implementation-Title": 'NetworkBenchmark', | |
49 "Implementation-Description": 'Quickstart', | |
50 "Implementation-Version": version, | |
51 "Assembly-Date": new java.util.Date().toString() | |
52 ) | |
53 } | |
54 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
55 with jar | |
39 } | 56 } |
40 } | |
41 } |