Replies: 1 comment 1 reply
-
Hey @yoohaemin! Good question. There currently actually isn't a way to do this. I wanted to avoid users having to add anything to their build to use this and the easiest way to accomplish this was to just do ev.rootModule.millInternal.modules.collect { case j: JavaModule => j } The negative part of this is that it just grabs everything. There is a couple things that we could do here:
Not fully sure which would be best without really exploring it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thanks for the great project.
I recently switched one of my projects from sbt to mill, and added sourcegraph.yml for github actions (copied over from here), and it works really well.
However I noticed that it tries to build semanticdb for the whole matrix for pure cross-built projects. Doing it for a scala.js project is unnecessary, and the Scala 3 one is apparently less featureful (https://sourcegraph.github.io/scip-java/docs/getting-started.html#scala).
Could you provide a hint to update the CI script so that it doesn't do redundant work?
https://github.com/yoohaemin/decrel/blob/master/.github/workflows/sourcegraph.yml
Example run: https://github.com/yoohaemin/decrel/actions/runs/4459131729/jobs/7831389763?pr=52
My repo: https://github.com/yoohaemin/decrel
Beta Was this translation helpful? Give feedback.
All reactions