Replies: 1 comment
-
I don't think Mill treats |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a mill project with two modules, one written in Java and another one written in Scala, where the Scala module depends on the Java one. My team is in charge of the Scala and we're using
mill
as our build system. The Java team instead seems to be using Ecilpse to handle the builds of their project.I wanted to also include their code inside our
build.sc
file so that I could assemble our code with their code into a Jar file which we could then upload to a server. Recently, they added JUnit5 to handle their tests, and they did so as a runtime dependency, not only for development. Arguably our module shouldn't need to care about what testing framework the other team is using, but in the interest of speed I decided to include it in thebuild.sc
anyways. Nevertheless, I was surprised what I found myself unable to do so.Their module is called
language
. Whenever I runmill language.compile
I get the following error messageThe
build.sc
which I'm using is the following:From what I've been able to tell,
org.junit.jupiter.api
corresponds to https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api. Nevertheless,mill
seems to complain that it has not been specified. Has this something to do with howmill
interacts withmodule-info.java
?Image of the commands
Beta Was this translation helpful? Give feedback.
All reactions