Mercurial > hg > Members > nobuyasu > jungle-network
comparison build.gradle @ 195:82698be06c6c default tip
change index TreeMap
author | tatsuki |
---|---|
date | Tue, 28 Apr 2015 07:51:41 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
194:fd4064e110bd | 195:82698be06c6c |
---|---|
1 apply plugin: 'java' | |
2 apply plugin: "eclipse" | |
3 | |
4 group = 'jungle-network' | |
5 version = '0.0.3-SNAPSHOT' | |
6 | |
7 description = """""" | |
8 | |
9 sourceCompatibility = 1.8 | |
10 targetCompatibility = 1.8 | |
11 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' | |
12 version = '1.0' | |
13 | |
14 repositories { | |
15 | |
16 maven { url "http://repo.maven.apache.org/maven2" } | |
17 } | |
18 | |
19 dependencies { | |
20 compile group: 'org.eclipse.jetty', name: 'jetty-server', version:'9.2.1.v20140609' | |
21 compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version:'9.2.1.v20140609' | |
22 compile group: 'org.hectorclient', name: 'hector-core', version:'1.1-2' | |
23 compile group: 'com.github.stephenc.eaio-uuid', name: 'uuid', version:'3.3.0' | |
24 compile fileTree(dir: 'lib', include: '*.jar') | |
25 compile "junit:junit:4.7" | |
26 } | |
27 | |
28 jar { | |
29 manifest { | |
30 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version | |
31 } | |
32 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
33 archiveName = 'jungle-network.jar' | |
34 } | |
35 uploadArchives { | |
36 repositories { | |
37 flatDir { | |
38 dirs '.' | |
39 } | |
40 } | |
41 } |