Skip to content

Sharing sources between meta build and a custom plugin is not working. #4413

Closed Answered by DamianReeves
DamianReeves asked this question in Q&A
Discussion options

You must be logged in to vote

Oops my mistake, it turns out the os.up was not needed like I thought, this works:

package build 
import mill._ 
import mill.scalalib._

object `package` extends MillBuildRootModule with ScalaModule {

  override def sources = Task.Sources {
    super.sources() ++ Seq(PathRef(T.workspace / "my-mill-plugins"/"src"))
  }

}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DamianReeves
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant