From 8f1fe36b226a22bdb4d6393db9342a8a01121a37 Mon Sep 17 00:00:00 2001 From: Viren Baraiya Date: Tue, 6 Feb 2024 09:35:21 -0800 Subject: [PATCH] Update build.gradle --- build.gradle | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 0c3e828..41fdead 100644 --- a/build.gradle +++ b/build.gradle @@ -72,6 +72,7 @@ subprojects { all { exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' exclude group: 'org.slf4j', module: 'slf4j-log4j12' + exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging' } } @@ -85,14 +86,16 @@ subprojects { } implementation('org.apache.logging.log4j:log4j-core') - implementation('org.apache.logging.log4j:log4j-api') - implementation('org.apache.logging.log4j:log4j-slf4j-impl') - implementation('org.apache.logging.log4j:log4j-jul') - implementation('org.apache.logging.log4j:log4j-web') - annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' +// implementation('org.apache.logging.log4j:log4j-api') +// implementation('org.apache.logging.log4j:log4j-slf4j-impl') +// implementation('org.apache.logging.log4j:log4j-jul') +// implementation('org.apache.logging.log4j:log4j-web') + implementation "org.apache.commons:commons-lang3:${versions.revCommonsLang}" + compileOnly "org.projectlombok:lombok:${versions.revLombok}" + annotationProcessor "org.projectlombok:lombok:${versions.revLombok}" - implementation "org.apache.commons:commons-lang3:${versions.revCommonsLang}" + annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' testImplementation('org.springframework.boot:spring-boot-starter-test') testImplementation('org.springframework.boot:spring-boot-starter-log4j2') @@ -102,7 +105,7 @@ subprojects { } allprojects { - configurations.all { + configurations.configureEach { resolutionStrategy.eachDependency { DependencyResolveDetails details -> if (details.requested.group == 'com.fasterxml.jackson.core') { details.useVersion '2.15.2'