Such a build needs to patch the org.scala.lang.scala3.library module, provided by scala3-library, because the module exports classes in the scala package and depends on scala-library, which also contains classes in the scala package. So right now I have to
to avoid errors like "error: module scala.library reads package scala from both org.scala.lang.scala3.library and scala.library". However, it would be much user friendly, if the second parameter of patchModule(), could be provided as POM coordinate containing the group id and artifact id (":"), and not the version. For example
Assume a JPMS build which depends on Scala 3.
Such a build needs to patch the org.scala.lang.scala3.library module, provided by scala3-library, because the module exports classes in the
scala
package and depends on scala-library, which also contains classes in thescala
package. So right now I have toto avoid errors like "error: module scala.library reads package scala from both org.scala.lang.scala3.library and scala.library". However, it would be much user friendly, if the second parameter of:"), and not the version. For example
patchModule()
, could be provided as POM coordinate containing the group id and artifact id ("thus avoiding having to specify a concrete version, which may changes once I bump the version of scala3-library.