ZipException with compile-only unmanagedClasspath #1667
-
I'm trying to put together my first mill build, as a test-case for a larger set of projects. The script includes this
Yes, that is a (non-mill) project outside of the current directory. Yes, that is intentional. This is the only custom piece of configuration in the build. When trying to run
If I understand correctly, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
To contribute compile-only artifacts, you can try to add them directly to In case these artifacts are suspected to change (which I assumes as this is the outcome of another build process), def compileOnlyClasspath = T.sources {
os.list(millSourcePath / os.up / os.up / "Baz" / "Deployment").map(PathRef(_))
}
def compileClasspath = T{
super.compileClasspath() ++ compileOnlyClasspath()
} |
Beta Was this translation helpful? Give feedback.
To contribute compile-only artifacts, you can try to add them directly to
compileClasspath
.In case these artifacts are suspected to change (which I assumes as this is the outcome of another build process),
I suggest to make it a source target, to properly rebuild when they've changed.