Mercurial > hg > Members > tatsuki > bbs
comparison build.gradle @ 4:5acde010c6db
add jungle browsing system
author | tatsuki |
---|---|
date | Tue, 28 Jun 2016 19:45:55 +0900 |
parents | d04e3e9069aa |
children | 6c584862fe93 |
comparison
equal
deleted
inserted
replaced
3:f3d30646c863 | 4:5acde010c6db |
---|---|
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://eaio.com/maven2" } |
11 maven { url "http://repo.maven.apache.org/maven2" } | 11 maven { url "http://repo.maven.apache.org/maven2" } |
12 } | 12 } |
13 | 13 |
14 dependencies { | 14 dependencies { |
15 compile "commons-collections:commons-collections:3.2.1" | 15 compile fileTree(dir: 'lib', include: '*.jar') |
16 compile "commons-collections:commons-collections:3.2.1" | |
16 compile "org.apache.maven.surefire:surefire-junit4:2.13" | 17 compile "org.apache.maven.surefire:surefire-junit4:2.13" |
17 compile "com.google.guava:guava:12.0" | 18 compile "com.google.guava:guava:12.0" |
18 compile group: 'org.eclipse.jetty', name: 'jetty-server', version:'9.1.1.v20140108' | 19 compile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.1.1.v20140108' |
19 compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version:'9.2.1.v20140609' | 20 compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.2.1.v20140609' |
20 testCompile group: 'junit', name: 'junit', version: '4.11' | 21 testCompile group: 'junit', name: 'junit', version: '4.11' |
21 compile group: 'junit', name: 'junit', version: '4.11' | 22 compile group: 'junit', name: 'junit', version: '4.11' |
22 compile group: 'org.hectorclient', name: 'hector-core', version:'1.1-2' | 23 compile group: 'org.hectorclient', name: 'hector-core', version: '1.1-2' |
23 compile(group: 'org.apache.cassandra', name: 'cassandra-all', version:'1.2.1') { | 24 compile(group: 'org.apache.cassandra', name: 'cassandra-all', version: '1.2.1') { |
24 exclude(module: 'slf4j-log4j12') | 25 exclude(module: 'slf4j-log4j12') |
25 exclude(module: 'log4j') | 26 exclude(module: 'log4j') |
26 } | 27 } |
27 | 28 |
28 jar { | 29 jar { |
29 manifest { | 30 manifest { |
30 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version | 31 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version |
32 } | |
33 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
34 archiveName = 'jungle-core.jar' | |
31 } | 35 } |
32 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
33 archiveName = 'jungle-core.jar' | |
34 } | |
35 | 36 |
36 uploadArchives { | 37 uploadArchives { |
37 repositories { | 38 repositories { |
38 flatDir { | 39 flatDir { |
39 dirs '.' | 40 dirs '.' |
40 } | 41 } |
42 } | |
41 } | 43 } |
42 } | |
43 } | 44 } |