Skip to content

Commit

Permalink
Resolve plugin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sjohnr committed Oct 27, 2022
1 parent 8e19e93 commit c0b930e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 0 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
buildscript {
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute module('org.apache.xerces:xercesImpl') with module('xerces:xercesImpl:2.9.1')
substitute module('org.apache.xerces:resolver') with module('xerces:resolver:2.9.1')
}
}
dependencies {
classpath "io.spring.javaformat:spring-javaformat-gradle-plugin:$springJavaformatVersion"
classpath 'io.spring.nohttp:nohttp-gradle:0.0.10'
Expand Down
8 changes: 8 additions & 0 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ gradlePlugin {
}

configurations {
all {
resolutionStrategy.dependencySubstitution {
substitute(module("org.apache.xerces:xercesImpl"))
.using(module("xerces:xercesImpl:2.9.1"))
substitute(module("org.apache.xerces:resolver"))
.using(module("xerces:resolver:2.9.1"))
}
}
implementation {
exclude module: 'groovy-all'
}
Expand Down

0 comments on commit c0b930e

Please sign in to comment.