Mercurial > hg > Members > shoshi > jungle > bbs
comparison build.gradle @ 7:6c584862fe93
edit build.gradle
author | tatsuki |
---|---|
date | Sat, 19 Nov 2016 22:31:25 +0900 |
parents | 5acde010c6db |
children | 4a66328f0141 |
comparison
equal
deleted
inserted
replaced
6:36f0f18ce6a8 | 7:6c584862fe93 |
---|---|
4 targetCompatibility = 1.8 | 4 targetCompatibility = 1.8 |
5 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' | 5 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' |
6 version = '1.0' | 6 version = '1.0' |
7 | 7 |
8 repositories { | 8 repositories { |
9 mavenCentral() | 9 mavenCentral() |
10 maven { url "http://eaio.com/maven2" } | 10 maven { url "http://www.cr.ie.u-ryukyu.ac.jp/hg/maven/raw-file/e6b119647469/"} |
11 maven { url "http://repo.maven.apache.org/maven2" } | 11 maven { url "http://www.cr.ie.u-ryukyu.ac.jp/maven"} |
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.1.1.v20140108' | 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.2.1.v20140609' | 20 compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.3.13.v20161014' |
21 testCompile group: 'junit', name: 'junit', version: '4.11' | 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: '1.2.1') { | 24 compile group: 'org.apache.cassandra', name: 'cassandra-all', version: '3.9' |
25 exclude(module: 'slf4j-log4j12') | 25 compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'jungle-core', version: '1.0', ext: 'jar' |
26 exclude(module: 'log4j') | 26 compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'Alice', version: '1.1', ext: 'jar' |
27 jar { | |
28 manifest { | |
29 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version | |
30 } | |
31 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
27 } | 32 } |
28 | 33 |
29 jar { | 34 uploadArchives { |
30 manifest { | 35 repositories { |
31 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version | 36 flatDir { |
32 } | 37 dirs '.' |
33 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | 38 } |
34 archiveName = 'jungle-core.jar' | |
35 } | 39 } |
36 | 40 } |
37 uploadArchives { | |
38 repositories { | |
39 flatDir { | |
40 dirs '.' | |
41 } | |
42 } | |
43 } | |
44 } | 41 } |