Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 943 Bytes

File metadata and controls

47 lines (27 loc) · 943 Bytes

This documents using 'the mill build tool' a.k.a. 'mill' to build klikr

dowload the mill build tool from

https://mill-build.org

assuming you have the mill executable at:

../mill

run with a JVM24 (see details in build.mill)

../mill run

make an executable jar:

../mill show assembly

output is :

/Users/dqssdqss/Kode/java/klikr/out/assembly.dest/out.jar

and this file is executable!

Caveat: VIPS FFM does not work

Now trying to build a native image

in build.mill change the commented top line:

old:

object package extends PublishModule with MavenModule { //object package extends JavaModule with NativeImageModule {

new:

//object package extends PublishModule with MavenModule { object package extends JavaModule with NativeImageModule {

../mill run or ../mill show assembly

... almost works, but not quite: resources are not copied to the native image, so it does work, but there is no CSS styling and no icons