view build.gradle @ 21:c8d8864714d4

add build.gradle
author tatsuki
date Tue, 28 Apr 2015 08:16:08 +0900
parents
children 306441e23b8b
line wrap: on
line source

apply plugin: 'java'
apply plugin: 'maven'
apply plugin: "eclipse"

group = 'jungle-bench'
version = '0.0.1-SNAPSHOT'

description = """"""

sourceCompatibility = 1.8
targetCompatibility = 1.8



repositories {
        
     maven { url "http://repo.maven.apache.org/maven2" }
}
dependencies {
    compile group: 'junit', name: 'junit', version:'4.7'
        compile fileTree(dir: 'lib', include: '*.jar')
}

jar {
    manifest {
          attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
            }
              from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
                archiveName = 'jungle-bench.jar'
}