You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using SetupBuild to package a non-Java application. MSI generation on Windows works well, but on macOS, I get the following error:
Build file '/Users/.../build.gradle' line: 147
* What went wrong:
Execution failed for task ':dmg'.
> A main class is required for the application. You have to configure at least the following:
setupBuilder {
[..]
mainClass = 'your.org.main.class'
}
org.codehaus.groovy.control.ConfigurationException: A main class is required for the application. You have to configure at least the following:
at com.inet.gradle.setup.dmg.AbstractOSXApplicationBuilder.prepareApplication(AbstractOSXApplicationBuilder.java:116)
at com.inet.gradle.setup.dmg.OSXApplicationBuilder.buildApplication(OSXApplicationBuilder.java:89)
at com.inet.gradle.setup.dmg.DmgBuilder.build(DmgBuilder.java:95)
at com.inet.gradle.setup.dmg.Dmg.build(Dmg.java:108)
at com.inet.gradle.setup.abstracts.AbstractTask.action(AbstractTask.java:101)
Is this use case unsupported?
The text was updated successfully, but these errors were encountered:
Hello,
I am using SetupBuild to package a non-Java application. MSI generation on Windows works well, but on macOS, I get the following error:
Is this use case unsupported?
The text was updated successfully, but these errors were encountered: