view build.gradle @ 48:a9fb8ff215ae

resolve Alice nullpo
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Tue, 20 Oct 2015 00:11:02 +0900
parents 9354e8a1d03b
children e89447729a0b
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/7eacafab885b/'
    }
}

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

jar {
    manifest {
        attributes 'Main-Class': 'jp.ac.u_ryukyu.alicevnc.StartAliceVNC',
                   'Implementation-Version': "2.7.3",
                   'Implementation-Title': 'TightVNC',
                   'Implementation-Vendor': 'GlavSoft LLC.'
    }
    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
    archiveName = 'AliceVNC.jar'
}