# HG changeset patch # User tobaru # Date 1501238882 -32400 # Node ID b26c934c2bfbee528a3b57ea4a2221347aea34e8 # Parent f0bd5f2c4ba3b98526b869f61a3120b6914aad74 MacApp and TreeVNC icons diff -r f0bd5f2c4ba3 -r b26c934c2bfb build.gradle --- a/build.gradle Thu Nov 24 17:44:54 2016 +0900 +++ b/build.gradle Fri Jul 28 19:48:02 2017 +0900 @@ -1,7 +1,12 @@ +plugins { + id "edu.sc.seis.macAppBundle" version "2.1.7" +} + apply plugin:'java' apply plugin: 'eclipse' apply plugin: 'application' + sourceCompatibility = 1.8 targetCompatibility = 1.8 version = '2.7.2' @@ -10,6 +15,13 @@ def buildNo = processBuildNo(version) defaultTasks 'clean', 'dist' +macAppBundle { + mainClassName = "com.glavsoft.viewer.TreeViewer" + icon = "src/viewer_swing/resources/TreeVNC.png.icns" + bundleJRE = true + javaProperties.put("apple.laf.useScreenMenuBar", "true") + //backgroundImage = "doc/macbackground.png" +} configurations { viewerSwingCompile { extendsFrom compile } @@ -62,6 +74,9 @@ } } + + + task noSshJar (type: Jar, dependsOn: classes) { baseName = 'nossh/' + project.baseName version = null diff -r f0bd5f2c4ba3 -r b26c934c2bfb src/viewer_swing/resources/TreeVNC.graffle Binary file src/viewer_swing/resources/TreeVNC.graffle has changed diff -r f0bd5f2c4ba3 -r b26c934c2bfb src/viewer_swing/resources/TreeVNC.png Binary file src/viewer_swing/resources/TreeVNC.png has changed diff -r f0bd5f2c4ba3 -r b26c934c2bfb src/viewer_swing/resources/TreeVNC.png.icns Binary file src/viewer_swing/resources/TreeVNC.png.icns has changed