crotwell / gradle-macappbundle

A Gradle Plugin to create a Mac OSX .app application and dmg based on the project.
Apache License 2.0
94 stars 33 forks source link

Gradle 5.0 build fails on non-macOS systems #67

Closed huxi closed 5 years ago

huxi commented 5 years ago

Error message: > No value has been specified for property 'MacAppBundlePlugin jreHome'.

jreHome is only actually required if bundleJRE = true. I was able to fix the build by setting jreHome to an arbitrary value.

See this thread on the Gradle forum.

crotwell commented 5 years ago

believe this is fixed in 52f098fc86ea9978506452fdd6b2ce6100857ff0 by setting jreHome to "" and making it optional property