Multiple non-Maven jars #1769
-
I've been trying to add multiple non-Maven jars to the
When I try to compile the script (just
The first two errors I really don't get, as the manual entry for downloading non-Maven jars clearly shows a string in that position. Is the manual outdated? The third error I have no clue about at all. Using mill 0.10.0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You found an error in the documentation. def unmanagedClasspath = Agg(
mill.modules.Util.download(
"https://github.com/blackears/svgSalamander/releases/download/v1.1.3/svgSalamander-1.1.3.jar",
os.rel / "svgSalamander.jar"
)
, mill.modules.Util.download(
"https://github.com/beanshell/beanshell/releases/download/2.1.0/bsh-2.1.0.jar",
os.rel / "bsh.jar"
)
) The thirds error is an aftereffect of the first two. Because the body of the target definition doesn't type check, the compiler can't apply all the other things is usually does, e.g. conversions and macros. |
Beta Was this translation helpful? Give feedback.
You found an error in the documentation.
Util.download
requires aos.RelPath
as second parameter, not aString
. The fix is rather straight forward, you can create aRelPath
withos.rel
:The thirds error is an aftereffect of the first two. Because the body of the target definition doesn't type check, the compiler can't apply all the …