-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjustments to let it run on macOS Ventura+ and build on Gradle 8+ #75
Conversation
…her and JavaAppLauncherStub - using universalJavaApplicationStub always
I have tried to test your PR using an old test case here, but after multiple attempts I keep hitting errors. They very likely may be due to my system or trying to publish the plugin locally to test, but get:
Have you been able to test successfully? I am concerned that most of the code in this plugin is so old that it has subtle incompatibilities with newer ways of writing plugins for gradle. I am not opposed to upgrading and publishing it, but I am not developing java gui applications any more, so my ability to spend time on this is very limited. If you would like to take it over and publish yourself under a new name, I would be happy to pass it on. |
Are you able to share that test case? (
I will think about it :/ |
So I tried with a new empty project. New directory, used
Then edited settings.gradle.kts to add:
which I think is the correct way to test a locally published plugin. Then edited app/build.gradle.kts to add:
and then ran
Doesn't really make a lot of sense to me. Any ideas? |
I will try to take a look (gradle, their docs, their hermetic error reporting and the way they change things always give me a headache :) ) |
I feel your pain... |
Don't ask me why or what it does (I guess I'm not alone, but this gave me that hint), add this to app/build.gradle (after plugins): Then I added config for macAppBundle:
|
Published...thanks for doing this. |
Thanks! |
Adjustments to let it run on macOS Ventura+ and build on Gradle 8+.
JavaAppLauncher
andJavaAppLauncherStub
universalJavaApplicationStub
always (Apple and Oracle app styles useuniversalJavaApplicationStub
)universalJavaApplicationStub
to properly parse paths and version on Vantura+I know that author of this awesome plugin stopped maintaining this but maybe this PR will be approved.
Either it's going to be integrated in this repo, or I would need to publish it under a different id (or embed it into other projects code to use it).