changeset 475:b26c934c2bfb

MacApp and TreeVNC icons
author tobaru
date Fri, 28 Jul 2017 19:48:02 +0900
parents f0bd5f2c4ba3
children 9a672958d7f2
files build.gradle src/viewer_swing/resources/TreeVNC.graffle src/viewer_swing/resources/TreeVNC.png src/viewer_swing/resources/TreeVNC.png.icns
diffstat 4 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
Binary file src/viewer_swing/resources/TreeVNC.graffle has changed
Binary file src/viewer_swing/resources/TreeVNC.png has changed
Binary file src/viewer_swing/resources/TreeVNC.png.icns has changed