Mercurial > hg > Members > shoshi > jungle > bbs
changeset 0:d04e3e9069aa
first commifirst committ
author | tatsuki |
---|---|
date | Mon, 27 Jun 2016 04:24:05 +0900 |
parents | |
children | 64a72a7a0491 |
files | build.gradle |
diffstat | 1 files changed, 43 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.gradle Mon Jun 27 04:24:05 2016 +0900 @@ -0,0 +1,43 @@ +apply plugin: 'java' + +sourceCompatibility = 1.8 +targetCompatibility = 1.8 +[compileJava, compileTestJava]*.options*.encoding = 'UTF-8' +version = '1.0' + +repositories { + mavenCentral() + maven { url "http://eaio.com/maven2" } + maven { url "http://repo.maven.apache.org/maven2" } +} + +dependencies { + compile "commons-collections:commons-collections:3.2.1" + compile "org.apache.maven.surefire:surefire-junit4:2.13" + compile "com.google.guava:guava:12.0" + compile group: 'org.eclipse.jetty', name: 'jetty-server', version:'9.1.1.v20140108' + compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version:'9.2.1.v20140609' + testCompile group: 'junit', name: 'junit', version: '4.11' + compile group: 'junit', name: 'junit', version: '4.11' + compile group: 'org.hectorclient', name: 'hector-core', version:'1.1-2' + compile(group: 'org.apache.cassandra', name: 'cassandra-all', version:'1.2.1') { + exclude(module: 'slf4j-log4j12') + exclude(module: 'log4j') + } + + jar { + manifest { + attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version + } + from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } + archiveName = 'jungle-core.jar' + } + + uploadArchives { + repositories { + flatDir { + dirs '.' + } + } + } +}