2

Is there a sbt plugin or piece of code which I could use to give me warning when I compile using outdated internal libraries ?

Let's say another team have updated their library but I am still using the old one. The plugin could check against artifactory to see if a new one exist and if it does, give me a compilation warning.

Anyone have heard of such system ?

Thanks.

Wonay
  • 1,160
  • 13
  • 35
  • 1
    I have not done it, but I think you can use [**scala-stedward**](https://github.com/fthomas/scala-steward) for that. I am not sure about the warning, but I will create PRs every time an update is available. - And, if I am not wrong, that _bot_ is built over an **SBT** _plugin_ that checks for dependencies updates, so you may only need that plugin. – Luis Miguel Mejía Suárez Mar 21 '19 at 22:14

1 Answers1

2

While a compiler warning is a nice solution, you might wanna look at a simpler one – signing up for a watch in Artifactory on the path of the library you want to get updated about. Every time a new file is deployed (new version is promoted to the release repository), you'll get an email.

JBaruch
  • 22,610
  • 5
  • 62
  • 90