Skip to content

Commit

Permalink
Describe how to resolve conflicting plugin depenecies (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkocel authored May 23, 2022
1 parent 81f10c4 commit 2117759
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/configuration/resolving_dependency_conflicts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Resolving dependency conflicts

`axion-release-plugin` uses [JGit](https://www.eclipse.org/jgit/) and [JSch](http://www.jcraft.com/jsch/)
under the hood. Other Gradle plugins can have version conflicts with those dependencies.

In order to resolve such conflicts specify dependency explicitly. Eg. for JGit:

buildscript {
dependencies {
classpath("pl.allegro.tech.build:axion-release-plugin:<version>") {
exclude group: "org.eclipse.jgit"
}
classpath("org.eclipse.jgit:org.eclipse.jgit:5.12.0.202106070339-r")
}
}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ nav:
- Publishing: 'configuration/publishing.md'
- Dry run: 'configuration/dry_run.md'
- CI Servers: 'configuration/ci_servers.md'
- Resolving dependency conflicts: 'configuration/resolving_dependency_conflicts.md'
- Extensions: 'configuration/extensions.md'

0 comments on commit 2117759

Please sign in to comment.