Skip to content

JBang with Maven#974

Merged
vorburger merged 3 commits intoenola-dev:mainfrom
vorburger:java_export
Dec 29, 2024
Merged

JBang with Maven#974
vorburger merged 3 commits intoenola-dev:mainfrom
vorburger:java_export

Conversation

@vorburger
Copy link
Copy Markdown
Member

@vorburger vorburger commented Dec 29, 2024

See #970 & #971.

🚀

*/

//JAVA 21
//COMPILE_OPTIONS --enable-preview -source 21
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just do //PREVIEW and jbang will do these automatically for you

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, cool! That indeed seems to work, but requires Mind 🧠 Reading to know about 🤣 as it does not appear to be documented - I've sent you jbangdev/jbang#1894.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants