tindzk / seed

Build tool for Scala projects
https://tindzk.github.io/seed/
Apache License 2.0
238 stars 13 forks source link

Question: How to specify compiler version in scalaDeps? #81

Closed PhilAndrew closed 4 years ago

PhilAndrew commented 4 years ago

I tried the following but it didn't work.

scalaDeps = [["org.wvlet.airframe", "airframe", "20.2.1", "2.12"]]

➜  ideal git:(master) ✗ ./seed bloop
ⓘ Loading project build.toml...
✗ The build file build.toml is malformed
  Message: Invalid version tag provided
  Trace: module → ideal → scalaDeps → #1 → #4
➜  ideal git:(master) ✗
tindzk commented 4 years ago

The Scala version does not need to be specified. It is derived from scalaVersion and added to the package name. The fourth parameter of a scalaDeps item denotes its version tag. This is useful when a Scala package does not follow the convention of <name>_<majorVersion>.<minorVersion>. You can find more information here.

tindzk commented 4 years ago

Did it resolve your issue?