0

Fly way sbt not working when sbt.version in project/build.properties is 1.2.8, but works fine when sbt.version in project/build.properties is 0.13.17.

Please find below github link of simplified project to demonstrate the issue.

https://github.com/moglideveloper/FlyWaySbtCheck

Thanks.

mogli
  • 1,549
  • 4
  • 29
  • 57

1 Answers1

0

That happens because the (old) flyway-sbt plugin you are using is build for SBT 0.13.x only.

Have a look at the new flyway-sbt site: https://github.com/flyway/flyway-sbt

Use addSbtPlugin("io.github.davidmweber" % "flyway-sbt" % "6.2.0") in your plugin.sbt if you want to use flyway with SBT 1.x.

cbley
  • 4,538
  • 1
  • 17
  • 32