Skip to content
Snippets Groups Projects
Unverified Commit 277d022e authored by HonkingGoose's avatar HonkingGoose Committed by GitHub
Browse files

docs: improve Java documentation (#7821)

parent 1251b61c
No related branches found
No related tags found
No related merge requests found
......@@ -5,27 +5,28 @@ description: Java versions support in Renovate
# Java Dependency Updates
Renovate can update the version used in Gradle and Maven projects.
Renovate can update Gradle and Maven dependencies.
This includes libraries and plugins.
## Gradle
Renovate detects versions specified as string `'group:artifact:version'` and as a map `(group:groupName, name:ArtifactName, version:Version)`.
Renovate detects versions that are specified in a string `'group:artifact:version'` and those specified in a map `(group:groupName, name:ArtifactName, version:Version)`.
### File Support
Renovate can update `build.gradle`/`build.gradle.kts` files in the root of the repository and any `*.gradle`/`*.gradle.kts` file inside any subdirectory as multi-project configurations.
Renovate can update `build.gradle`/`build.gradle.kts` files in the root of the repository.
It also updates any `*.gradle`/`*.gradle.kts` files in a subdirectory as multi-project configurations.
Renovate does not support:
- Projects with neither `build.gradle` nor `build.gradle.kts` in the root of the repository
- Projects which do not have either a `build.gradle` or `build.gradle.kts` in the repository root
- Android projects that require extra configuration to run (e.g. setting the Android SDK)
- Gradle versions prior to version 5.0.
### How It Works
Renovate uses a plugin to search and extract versions from projects.
They are then looked up using Maven datasources and patched into PRs the usual way.
Once the Gradle plugin has detected the dependencies, lookups and updating will be performed like usual with datasources and direct patching of files.
## Maven
......@@ -33,7 +34,7 @@ Renovate can update dependency versions found in Maven `pom.xml` files.
### File Support
Renovate will search repositories for all files named `pom.xml` and then process them independently.
Renovate will search repositories for all `pom.xml` files and processes them independently.
### Custom registry support, and authentication
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment