-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Describe how to resolve conflicting plugin depenecies (#463)
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters