Skip to content

tomasbjerre/update-versions-gradle-plugin

Repository files navigation

Update Versions Gradle Plugin

Maven Central

Uses gradle-versions-plugin to supply tasks that can show updateable dependencies and also update them.

Usage

Apply it with:

plugins {
 id "se.bjurr.gradle.update-versions" version "X"
}

It adds these tasks:

  • ./gradlew showUpdateableDependencies - Print list of dependencies that can be updated.
  • ./gradlew updateDependencies - Update dependencies that can be updated.

It will:

  • Work with both Groovy .gradle and Kotlin .gradle.kts files.
  • Look for both dependencies and plugins DSL.

It can be tweaked:

updateVersions {
  ignoreDependenciesRegexp.set("anything matching this regexp will be ignored")
}

Works great with https://github.com/tomasbjerre/gradle-conventions

About

Uses gradle-versions-plugin to supply tasks that can show updateable dependencies and also update them.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages