view build.gradle @ 34:7b405f622c5c

refactor code
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Sat, 17 Feb 2018 13:14:22 +0900
parents 59fabebb67d8
children 825e01825ad3
line wrap: on
line source

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

sourceCompatibility = 1.8;
targetCompatibility = 1.8;

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

repositories {
    mavenCentral()
}

dependencies {
    compile fileTree(dir: 'lib', include: '*.jar')
    testCompile group: 'junit', name: 'junit', version: '4.21'
    compile group: 'org.msgpack', name: 'msgpack', version: '0.6.12'
}

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