From 9e8d688ac85b49a8c44e53599384030ad4c3743f Mon Sep 17 00:00:00 2001 From: gered Date: Wed, 2 Dec 2015 17:31:09 -0500 Subject: [PATCH] add support for gradle macAppBundle plugin for generating mac .app's --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index 6b46c05..7453b2f 100644 --- a/build.gradle +++ b/build.gradle @@ -9,6 +9,7 @@ plugins { id 'java' id 'application' id 'com.github.johnrengelman.shadow' version '1.2.2' + id 'edu.sc.seis.macAppBundle' version '2.1.3' } sourceCompatibility = 1.7 @@ -26,3 +27,10 @@ dependencies { compile 'com.1stleg:jnativehook:2.0.2' compile 'com.thoughtworks.xstream:xstream:1.4.4' } + +macAppBundle { + appName = 'Llanfair' + mainClassName = 'org.fenix.llanfair.Llanfair' + bundleJRE = false + javaProperties.put('apple.laf.useScreenMenuBar', 'true') +}