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/9805e2f8823e/' } } 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 { 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' }