view build.gradle @ 81:a2cf391b8a34

correct args bug
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Fri, 18 Dec 2015 01:47:17 +0900
parents c94436e90e9e
children 6b0730c48b4e 01ef473e214e
line wrap: on
line source

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

sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '1.1'

repositories {
    maven(){
        url 'http://www.cr.ie.u-ryukyu.ac.jp/hg/maven/raw-file/f4e5c31c98b9/'
    }
}

dependencies {
    compile 'com.glavsoft.viewer:tightvnc-jviewer:2.7.2'
    compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'Alice', version: '1.1', ext: 'jar'
}

jar {
    exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' 
    manifest {
        attributes 'Main-Class': 'jp.ac.u_ryukyu.alicevnc.StartAliceVNC',
                   'Implementation-Version': "2.7.2",
                   'Implementation-Title': 'TightVNC',
                   'Implementation-Vendor': 'GlavSoft LLC.'
    }
    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
    archiveName = 'AliceVNC.jar'
}