Importing scala3 library to build #4908
Answered
by
aronbergurj99
aronbergurj99
asked this question in
Q&A
-
I am trying to import local scala3 library to my build to handle code generation. package build
import mill._, scalalib._
import $ivy.`org.example:gen_3:0.0.1` I am able locate the library in $HOME/.ivy2/local but i get the following compilation error: "error while loading Gen, Missing dependency 'Add -Ytasty-reader to scalac options to parse the TASTy in ..." Does mill not support scala3 libraries? |
Beta Was this translation helpful? Give feedback.
Answered by
aronbergurj99
Apr 10, 2025
Replies: 1 comment 2 replies
-
Well I solved it by adding the option to scalacOptions in meta build but feels hacky: def scalacOptions = T {
super.scalacOptions() ++ Seq("-Ytasty-reader")
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
aronbergurj99
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well I solved it by adding the option to scalacOptions in meta build but feels hacky: