add support for gradle macAppBundle plugin for generating mac .app's
This commit is contained in:
parent
90177997d2
commit
9e8d688ac8
|
@ -9,6 +9,7 @@ plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'application'
|
id 'application'
|
||||||
id 'com.github.johnrengelman.shadow' version '1.2.2'
|
id 'com.github.johnrengelman.shadow' version '1.2.2'
|
||||||
|
id 'edu.sc.seis.macAppBundle' version '2.1.3'
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = 1.7
|
sourceCompatibility = 1.7
|
||||||
|
@ -26,3 +27,10 @@ dependencies {
|
||||||
compile 'com.1stleg:jnativehook:2.0.2'
|
compile 'com.1stleg:jnativehook:2.0.2'
|
||||||
compile 'com.thoughtworks.xstream:xstream:1.4.4'
|
compile 'com.thoughtworks.xstream:xstream:1.4.4'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
macAppBundle {
|
||||||
|
appName = 'Llanfair'
|
||||||
|
mainClassName = 'org.fenix.llanfair.Llanfair'
|
||||||
|
bundleJRE = false
|
||||||
|
javaProperties.put('apple.laf.useScreenMenuBar', 'true')
|
||||||
|
}
|
||||||
|
|
Reference in a new issue