Replies: 5 comments
-
|
Oh, turns out Mill doesn't support Java 8 at all. Found a line in the docs right after submitting the issue: https://mill-build.org/mill/cli/build-header.html#_mill_jvm_version That's unfortunate. Sorry for bothering. |
Beta Was this translation helpful? Give feedback.
-
|
Since 1.0, Mill requires Java 11 at runtime. It should be still possible, to target older Java versions. Either use the respective options like the |
Beta Was this translation helpful? Give feedback.
-
|
Perhaps I can try using older Mill (pre 1.0.0) to start the migration? The plan is to upgrade to newer Java version as well, but to do that I first wanted to have a solid build process, that should help when working on the migration. For example having LSP support would be really nice. |
Beta Was this translation helpful? Give feedback.
-
If it is important to you to use an older JVM for building, that yes. You might want to go with Mill 0.12.17. Some API has changed in Mill 1.x, so you should pay attention to the various deprecation messages, to minimize the migration work required when you switch to 1.x.
Of course, the best supported is always the latest stable version, so feature-wise and re the editing experience, using Mill 1.x is recommended. You can use the |
Beta Was this translation helpful? Give feedback.
-
|
This project uses JavaFX, which was unbundled from JDK starting from Java 11, so simply using Thanks for the pointers! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to upgrade an old project that still uses Java 8, and I'm trying to migrate it from SBT to Mill. But trying to build even the simplest example project fails - see below.
Here's the
build.millI used:And here's the error:
Beta Was this translation helpful? Give feedback.
All reactions