Mercurial > hg > Members > tatsuki > bbs
view build.gradle @ 1:64a72a7a0491
add local bbs
author | tatsuki |
---|---|
date | Mon, 27 Jun 2016 04:24:25 +0900 |
parents | d04e3e9069aa |
children | 5acde010c6db |
line wrap: on
line source
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 '.' } } } }