view build.gradle @ 157:f98f2704b154 untilIndex

minnerChange
author one
date Sun, 07 Dec 2014 18:43:32 +0900
parents c4846688f635
children 6615db346bf5
line wrap: on
line source

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

sourceCompatibility = 1.8
targetCompatibility = 1.8
[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 '.'
    }
  }
}