view build.gradle @ 107:825e01825ad3

update java11
author akahori
date Wed, 31 Oct 2018 11:04:55 +0900
parents 59fabebb67d8
children 7ca232bc1009
line wrap: on
line source

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

sourceCompatibility = 11;
targetCompatibility = 11;

[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('org.junit.jupiter:junit-jupiter-api:5.2.0')
    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'
}