diff --git a/build.gradle b/build.gradle index 99046ee3f71c..b9cbd0a0de9c 100644 --- a/build.gradle +++ b/build.gradle @@ -197,6 +197,9 @@ repositories { ext["jackson.version"] = fasterxml_version ext["junit-jupiter.version"] = junit_version +ext { qDox = "com.thoughtworks.qdox:qdox:2.1.0" } +ext { springBootStarterWeb = "org.springframework.boot:spring-boot-starter-web:${spring_boot_version}" } + dependencies { // Note: jenkins-client is not well maintained and includes dependencies to libraries with critical security issues (e.g. CVE-2020-10683 for dom4j@1.6.1) @@ -263,7 +266,7 @@ dependencies { } } - implementation "com.thoughtworks.qdox:qdox:2.1.0" + implementation qDox implementation "io.sentry:sentry-logback:${sentry_version}" implementation "io.sentry:sentry-spring-boot-starter-jakarta:${sentry_version}" @@ -328,7 +331,7 @@ dependencies { implementation "org.springframework.boot:spring-boot-starter-aop:${spring_boot_version}" implementation "org.springframework.boot:spring-boot-starter-data-jpa:${spring_boot_version}" implementation "org.springframework.boot:spring-boot-starter-security:${spring_boot_version}" - implementation("org.springframework.boot:spring-boot-starter-web:${spring_boot_version}") { + implementation(springBootStarterWeb) { exclude module: "spring-boot-starter-undertow" } implementation "org.springframework.boot:spring-boot-starter-tomcat:${spring_boot_version}" diff --git a/supporting_scripts/analysis-of-endpoint-connections/build.gradle b/supporting_scripts/analysis-of-endpoint-connections/build.gradle index d511ac449862..36c1ec3db4da 100644 --- a/supporting_scripts/analysis-of-endpoint-connections/build.gradle +++ b/supporting_scripts/analysis-of-endpoint-connections/build.gradle @@ -10,9 +10,11 @@ repositories { mavenCentral() } +evaluationDependsOn(':') + dependencies { - implementation 'com.thoughtworks.qdox:qdox:2.0-M9' - implementation "org.springframework.boot:spring-boot-starter-web:${spring_boot_version}" + implementation rootProject.ext.qDox + implementation rootProject.ext.springBootStarterWeb } test {