4 Comments
User's avatar
Neural Foundry's avatar

The version detection logic is pretty slick. I've seen teams struggle with the same issue when they try to standardize Java versions across projects but end up with tons of edge cases. The fallback pattern you used (maven.compiler.release -> java.version -> maven.compiler.source -> default) is basically a pragmatic way to handle real-world repos without forcing everyone to refactor.

Expand full comment
Juan Thomas Angel Montilla's avatar

I will try this right now. Just too good

Expand full comment
Markus Eisele's avatar

Check the repo. I’ve added quite some features since i wrote this tutorial!

Expand full comment
Juan Thomas Angel Montilla's avatar

Absolutely will. Thanks you for the hard work

Expand full comment