changeset 475:b26c934c2bfb tip

MacApp and TreeVNC icons
author tobaru
date Fri, 28 Jul 2017 19:48:02 +0900
parents f0bd5f2c4ba3
children
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
     1.1 --- a/build.gradle	Thu Nov 24 17:44:54 2016 +0900
     1.2 +++ b/build.gradle	Fri Jul 28 19:48:02 2017 +0900
     1.3 @@ -1,7 +1,12 @@
     1.4 +plugins {
     1.5 +  id "edu.sc.seis.macAppBundle" version "2.1.7"
     1.6 +}
     1.7 +
     1.8  apply plugin:'java'
     1.9  apply plugin: 'eclipse'
    1.10  apply plugin: 'application'
    1.11  
    1.12 +
    1.13  sourceCompatibility = 1.8
    1.14  targetCompatibility = 1.8
    1.15  version = '2.7.2'
    1.16 @@ -10,6 +15,13 @@
    1.17  def buildNo = processBuildNo(version)
    1.18  
    1.19  defaultTasks 'clean', 'dist'
    1.20 +macAppBundle {
    1.21 +    mainClassName = "com.glavsoft.viewer.TreeViewer"
    1.22 +    icon = "src/viewer_swing/resources/TreeVNC.png.icns"
    1.23 +    bundleJRE = true
    1.24 +    javaProperties.put("apple.laf.useScreenMenuBar", "true")
    1.25 +    //backgroundImage = "doc/macbackground.png"
    1.26 +}
    1.27  
    1.28  configurations {
    1.29      viewerSwingCompile { extendsFrom compile }
    1.30 @@ -62,6 +74,9 @@
    1.31      }
    1.32  }
    1.33  
    1.34 +
    1.35 +
    1.36 +
    1.37  task noSshJar (type: Jar, dependsOn: classes) {
    1.38      baseName = 'nossh/' + project.baseName
    1.39      version = null
     2.1 Binary file src/viewer_swing/resources/TreeVNC.graffle has changed
     3.1 Binary file src/viewer_swing/resources/TreeVNC.png has changed
     4.1 Binary file src/viewer_swing/resources/TreeVNC.png.icns has changed