# HG changeset patch # User tatsuki # Date 1466969045 -32400 # Node ID d04e3e9069aab43c66a3a7bd28286379ec9d846a first commifirst committ diff -r 000000000000 -r d04e3e9069aa build.gradle --- /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 '.' + } + } + } +}