Fixed mainClass of macAppBundle

This commit is contained in:
huangyuhui 2016-05-16 18:10:30 +08:00
parent ca3ed47d21
commit 75e0fa2def

View File

@ -83,6 +83,12 @@ task macAppCompressed(type: Zip, dependsOn: createApp) {
from "$buildDir/macApp" from "$buildDir/macApp"
} }
macAppBundle {
mainClassName = mainClass
icon = "src/main/icon.icns"
javaProperties.put("apple.laf.useScreenMenuBar", "true")
}
sourceSets { sourceSets {
main { main {
java { java {