Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.06 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.06 KB

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 can be tweaked in gradle.properties with some properties, the plugin reads them like this:

// ---- default config ----
// ignoreDependenciesRegexp: (jakarta.inject|jakarta.servlet).*
ignoreDependenciesRegexp: project.getProperties().getOrDefault("ignoreDependenciesRegexp", ""),
// ---- default config ----