From c0b930e42173180a3faa385dd7595450a1168275 Mon Sep 17 00:00:00 2001 From: Steve Riesenberg Date: Wed, 26 Oct 2022 23:25:52 -0500 Subject: [PATCH] Resolve plugin dependencies --- build.gradle | 6 ------ buildSrc/build.gradle | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 61500fb9da5..bb04847c3f0 100644 --- a/build.gradle +++ b/build.gradle @@ -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' diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 9e22647737f..c082a6c115e 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -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' }