2

I'd like to avoid always adding --scala-platform-version=2.11 to ./pants. Can I make this the default with configuration in pants.ini?

Lee Avital
  • 542
  • 6
  • 15

2 Answers2

2

It turns out that pants options live under scopes, so I needed to have:

[scala-platform]
version: 2.11

in my pants.ini file.

Lee Avital
  • 542
  • 6
  • 15
  • You can also join the pants slack room for faster turnaround. https://pantsbuild.github.io/howto_contribute.html – yi cheng Dec 11 '16 at 22:29
0

Add

[scala]
version: 2.12

to yours pants.ini

from official pants repo example