renovate/website/docs/java.md
2018-10-29 17:32:31 +01:00

1.1 KiB

title description
Java Versions Java versions support in Renovate

Java Versions

Renovate can update the version used in gradle projects. This includes libraries and plugins.

It detects versions specified as string 'group:artifact:version' and as a map (group:groupName, name:ArtifactName, version:Version)

File Support

Renovate can update build.gradle files in the root of the repository and any .gradle file inside any subdirectory as multi-project configurations.

Renovate does not support:

  • Projects without a build.gradle file in the root of the repository.
  • Android projects that requires extra configuration to run. (e.g. setting the android SDK)

How It Works

Renovate uses gradle-versions-plugin to generate a report with the dependencies that needs to be updated. Then it goes through every gradle configuration file looking for every dependency and if it is found it replaces the version.

It automatically configures gradle-versions-plugin so you don't need to have it configured as a dependency.