Skip to content

Commit

Permalink
Merge pull request #110 from anilkumarmyla/improve_readme
Browse files Browse the repository at this point in the history
Usage as project plugin
  • Loading branch information
rtimush authored Jul 16, 2019
2 parents 624f6f5 + 9b5c614 commit 3852d8a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,17 @@ You can also check updates for dependencies and sbt plugins with:
sbt ";dependencyUpdates; reload plugins; dependencyUpdates"
```

Usage as project plugin
=======================
It is preferred to use sbt-updates as a global plugin. Nevertheless, there might be cases when you want to use sbt-updates
as a project plugin. In that case, add the plugin definition to `project/sbt-updates.sbt`. You can then use dependencyUpdates
target to find updates for your project. But this way you won't be able to check sbt plugin updates. In order to check both
dependency updates and sbt plugin updates, add the plugin to both project and meta project i.e `project/sbt-updates.sbt`
and `project/project/sbt-updates.sbt` and run:
```
sbt ";dependencyUpdates; reload plugins; dependencyUpdates; reload return"
```

Publishing
==========
`sbt-updates` relies on the repository Maven metadata. If you want to get update notifications
Expand Down

0 comments on commit 3852d8a

Please sign in to comment.