view build.gradle @ 115:a6250c32451f

Merge with d0da1ae54359fc26f2c5eb7243abe4041b81c929
author one
date Thu, 18 Sep 2014 13:34:30 +0900
parents 5b7e45464bb8
children c4846688f635
line wrap: on
line source

apply plugin: "java"
apply plugin: "eclipse"

sourceCompatibility = 1.6
targetCompatibility = 1.6
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
version = '1.0'

repositories {
  mavenCentral()
}

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 "org.functionaljava:functionaljava:3.1"
    testCompile "junit:junit:4.7"
}

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 '.'
    }
  }
}