You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#5002
This decouples the Mill executable and the Mill server classpath.
* Previously the Mill server took on the Mill executable as part of the
classpath, with this change the Mill server classpath is resolved from
Maven Central and the Mill client may not even be a jar anymore (e.g. if
it is a graal native image)
* Reduces the native executable download size from ~108mb to ~49mb, with
the difference being the runner assembly jar we previously prepended to
the executable that now gets resolved from maven central.
* Removes the messy `MILL_CLASSPATH` environment variable handling that
was necessary to reliably get the classpath of the client JVM across all
different execution modes (local, packaged, native)
* Introduces a `cachedComputedValue` helper in our client Java code to
make it easy to wrap arbitrary expensive computations, and used to to
add some caching to the `yamlHeader` processing
0 commit comments