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/3bdb20eef3d1/' } } 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' }