Resolve plugin dependencies

This commit is contained in:
Steve Riesenberg 2022-10-26 23:25:52 -05:00
parent 8e19e93d1b
commit c0b930e421
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
2 changed files with 8 additions and 6 deletions

View File

@ -1,10 +1,4 @@
buildscript { 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 { dependencies {
classpath "io.spring.javaformat:spring-javaformat-gradle-plugin:$springJavaformatVersion" classpath "io.spring.javaformat:spring-javaformat-gradle-plugin:$springJavaformatVersion"
classpath 'io.spring.nohttp:nohttp-gradle:0.0.10' classpath 'io.spring.nohttp:nohttp-gradle:0.0.10'

View File

@ -60,6 +60,14 @@ gradlePlugin {
} }
configurations { 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 { implementation {
exclude module: 'groovy-all' exclude module: 'groovy-all'
} }