Skip to content

Conversation

@Gedochao
Copy link
Contributor

@Gedochao Gedochao commented Jan 16, 2026

https://github.com/com-lihaoyi/mill/releases/tag/1.1.0-RC4
As the .mill.scala format was dropped in 1.1.0-RC1, I changed the default build file output to .mill for Mill 1.0 exports as well.
We've yet to change it in the Scala CLI repo itself.

Comment on lines +105 to +108
val launcherTag = if useLatestLaunchers then "main" else millVersion
val launcherArtifacts = Seq(
os.rel / "mill" -> s"https://github.com/com-lihaoyi/mill/raw/$millVersion/mill",
os.rel / "mill.bat" -> s"https://github.com/com-lihaoyi/mill/raw/$millVersion/mill.bat"
os.rel / "mill" -> s"https://github.com/com-lihaoyi/mill/raw/$launcherTag/mill",
os.rel / "mill.bat" -> s"https://github.com/com-lihaoyi/mill/raw/$launcherTag/mill.bat"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To work around com-lihaoyi/mill#6632 / com-lihaoyi/mill#6623, we will now default exported mill launchers to the main branch of the Mill repo, with the option to instead use the version tag hidden behind a flag.
Since export is probably forever an experimental endeavour, and some legacy Mill versions would require using a more recent launcher script anyway, this feels like the lesser evil here.

@Gedochao Gedochao force-pushed the feature/export-mill-1.1.0-RC4 branch from db58722 to 2df7ebe Compare January 20, 2026 12:35
@Gedochao Gedochao force-pushed the feature/export-mill-1.1.0-RC4 branch from 2df7ebe to 39dd7ea Compare January 21, 2026 14:17
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.

1 participant