1

I would like to develop an sbt-plugin that would auto-generate sources for Scala projects. The thing is I would like to produce slightly different sources for each targeted platform (JVM, Native, Scala.js).

Because of that, my plugin needs to detect the project platform. I wonder if there is an elegant way of doing that?

przemod
  • 459
  • 3
  • 10

0 Answers0