view build.gradle @ 1:3ea61d0bfc34

add dependency proccess but not work
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Mon, 11 Dec 2017 21:19:25 +0900
parents c082039368f5
children b49a926cbdd9
line wrap: on
line source

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

sourceCompatibility = 1.9;
targetCompatibility = 1.9;

[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
group = 'cr.ie.u_ryukyu.ac.jp'
version = '1.0'

repositories {
    mavenCentral()
}

dependencies {
    testCompile group: 'junit', name: 'junit', version: '4.21'
}

jar {
    exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
    manifest {
        attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
    }
    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
    archiveName = 'Christie.jar'
}