view build.gradle @ 357:d2e243ddcd68 multicast

need to change JDK version from JDK6 to JDK8.
author sugi
date Tue, 13 May 2014 13:30:08 +0900
parents bef74861969a
children 9f6674e503df
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'

dependencies {
   	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 = 'Alice.jar'
}