Skip to content

SBT plugin that can check maven repositories for dependency updates

License

Notifications You must be signed in to change notification settings

13h3r/sbt-updates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-updates

Display your SBT project's dependency updates.

Requirements

SBT 0.12, 0.13.x

Note: use version 0.1.0 for SBT 0.11.* series

Installation

Stable version

Add the following line to one of these files:

  • The project-specific file at project/sbt-updates.sbt
  • Your global file (for sbt version 0.13.x) at ~/.sbt/0.13/plugins/sbt-updates.sbt
  • Your global file (for sbt versions earlier than 0.13) at ~/.sbt/plugins/sbt-updates.sbt
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.1.4")

Snapshot version

Add the following lines to one of these files:

  • The project-specific file at project/sbt-updates.sbt
  • Your global file (for sbt version 0.13.x) at ~/.sbt/0.13/plugins/sbt-updates.sbt
  • Your global file (for sbt versions earlier than 0.13) at ~/.sbt/plugins/sbt-updates.sbt
resolvers += Resolver.url("sbt-plugin-snapshots", url("https://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-snapshots"))(Resolver.ivyStylePatterns)

addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.1.5-SNAPSHOT")

Tasks

  • dependency-updates: show a list of project dependencies that can be updated,
  • dependency-updates-report: writes a list of project dependencies to a file.

Note: for SBT 0.13.x use camelCase task names dependencyUpdates and dependencyUpdatesReport.

Settings

  • dependency-updates-report-file: report file location, target/dependency-updates.txt by default.

Example:

> dependency-updates
[info] Found 3 dependency updates for test-project
[info]   ch.qos.logback:logback-classic : 0.8   -> 0.8.1 -> 0.9.30 -> 1.0.13
[info]   org.scala-lang:scala-library   : 2.9.1 -> 2.9.3 -> 2.10.3
[info]   org.slf4j:slf4j-api            : 1.6.4 -> 1.6.6 -> 1.7.5

About

SBT plugin that can check maven repositories for dependency updates

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%