From c320046f69074cc9ec0f6821d6de50bec6e4570c Mon Sep 17 00:00:00 2001 From: ravinperera00 Date: Sun, 15 Sep 2024 17:06:34 +0530 Subject: [PATCH] Exclude log4j-slf4j-impl dependency --- bvm/ballerina-core/build.gradle | 2 +- cli/ballerina-cli-module/build.gradle | 2 +- cli/ballerina-packerina/build.gradle | 2 +- gradle/balNativeLibProject.gradle | 2 +- langlib/langlib-test/build.gradle | 2 +- observelib/observe/build.gradle | 2 +- stdlib/auth/build.gradle | 2 +- stdlib/crypto/build.gradle | 2 +- stdlib/database/jdbc2/build.gradle | 2 +- stdlib/email/build.gradle | 2 +- stdlib/encoding/build.gradle | 2 +- stdlib/file/build.gradle | 2 +- stdlib/grpc/build.gradle | 2 +- stdlib/http/build.gradle | 2 +- stdlib/io/build.gradle | 2 +- stdlib/jdbc/build.gradle | 2 +- stdlib/jsonutils/build.gradle | 2 +- stdlib/jwt/build.gradle | 2 +- stdlib/ldap/build.gradle | 2 +- stdlib/math/build.gradle | 2 +- stdlib/messaging/kafka/build.gradle | 2 +- stdlib/messaging/nats/build.gradle | 2 +- stdlib/messaging/rabbitmq/build.gradle | 2 +- stdlib/mime/build.gradle | 2 +- stdlib/oauth2/build.gradle | 2 +- stdlib/socket/build.gradle | 2 +- stdlib/task/build.gradle | 2 +- stdlib/time/build.gradle | 2 +- stdlib/transactions/build.gradle | 2 +- stdlib/xmlutils/build.gradle | 2 +- tests/ballerina-compiler-plugin-test/build.gradle | 2 +- tests/ballerina-spec-conformance-tests/build.gradle | 2 +- tests/ballerina-test-utils/build.gradle | 2 +- tests/ballerina-tools-integration-test/build.gradle | 2 +- tests/jballerina-bstring-unit-test/build.gradle | 2 +- tests/jballerina-unit-test/build.gradle | 2 +- 36 files changed, 36 insertions(+), 36 deletions(-) diff --git a/bvm/ballerina-core/build.gradle b/bvm/ballerina-core/build.gradle index dc192b91e88c..ecea40ad2743 100644 --- a/bvm/ballerina-core/build.gradle +++ b/bvm/ballerina-core/build.gradle @@ -63,7 +63,7 @@ configurations { exclude group: 'org.apache.servicemix.bundles', module: 'org.apache.servicemix.bundles.commons-beanutils' exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-log4j2' - exclude group: 'org.slf4j', module: 'slf4j-log4j12' + exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' } } diff --git a/cli/ballerina-cli-module/build.gradle b/cli/ballerina-cli-module/build.gradle index e16cfcc37c66..0f0c67fb1414 100644 --- a/cli/ballerina-cli-module/build.gradle +++ b/cli/ballerina-cli-module/build.gradle @@ -21,7 +21,7 @@ configurations { birJar bir birJarCompile { transitive false } - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/cli/ballerina-packerina/build.gradle b/cli/ballerina-packerina/build.gradle index 91119dc94033..d5fb71c20b2c 100644 --- a/cli/ballerina-packerina/build.gradle +++ b/cli/ballerina-packerina/build.gradle @@ -21,7 +21,7 @@ configurations { birJar bir birJarCompile { transitive false } - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/gradle/balNativeLibProject.gradle b/gradle/balNativeLibProject.gradle index 70b8386f1766..01ad86771d5a 100644 --- a/gradle/balNativeLibProject.gradle +++ b/gradle/balNativeLibProject.gradle @@ -190,7 +190,7 @@ publishing { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/langlib/langlib-test/build.gradle b/langlib/langlib-test/build.gradle index fd6777897434..f99a5f74aae7 100644 --- a/langlib/langlib-test/build.gradle +++ b/langlib/langlib-test/build.gradle @@ -98,7 +98,7 @@ test { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/observelib/observe/build.gradle b/observelib/observe/build.gradle index 219ebd216a73..7b4d96708dc1 100644 --- a/observelib/observe/build.gradle +++ b/observelib/observe/build.gradle @@ -52,7 +52,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/auth/build.gradle b/stdlib/auth/build.gradle index da576a6082ed..a80a747e03e7 100644 --- a/stdlib/auth/build.gradle +++ b/stdlib/auth/build.gradle @@ -83,7 +83,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/crypto/build.gradle b/stdlib/crypto/build.gradle index d4f4931c17a5..ab13d208bfc9 100644 --- a/stdlib/crypto/build.gradle +++ b/stdlib/crypto/build.gradle @@ -55,7 +55,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/database/jdbc2/build.gradle b/stdlib/database/jdbc2/build.gradle index 6cbe1fe8b479..b7b0345e4444 100644 --- a/stdlib/database/jdbc2/build.gradle +++ b/stdlib/database/jdbc2/build.gradle @@ -61,7 +61,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/email/build.gradle b/stdlib/email/build.gradle index ae459c3b5940..33c4e92ae77f 100644 --- a/stdlib/email/build.gradle +++ b/stdlib/email/build.gradle @@ -77,7 +77,7 @@ createBalo { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/encoding/build.gradle b/stdlib/encoding/build.gradle index 2a4e96c36da3..ab18aaa161a8 100644 --- a/stdlib/encoding/build.gradle +++ b/stdlib/encoding/build.gradle @@ -52,7 +52,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/file/build.gradle b/stdlib/file/build.gradle index 73a0819ce313..0f4aaf0b5a98 100644 --- a/stdlib/file/build.gradle +++ b/stdlib/file/build.gradle @@ -56,7 +56,7 @@ createBalo { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/grpc/build.gradle b/stdlib/grpc/build.gradle index 8d67f6dcf4cd..ba90b25c7c43 100644 --- a/stdlib/grpc/build.gradle +++ b/stdlib/grpc/build.gradle @@ -29,7 +29,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/http/build.gradle b/stdlib/http/build.gradle index 25e61f05a077..1948dcaba3fa 100644 --- a/stdlib/http/build.gradle +++ b/stdlib/http/build.gradle @@ -114,7 +114,7 @@ createBalo { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/io/build.gradle b/stdlib/io/build.gradle index 2ffdea93aaaf..7027dc95279d 100644 --- a/stdlib/io/build.gradle +++ b/stdlib/io/build.gradle @@ -58,7 +58,7 @@ createBalo { description = 'Ballerina - I/O' configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/jdbc/build.gradle b/stdlib/jdbc/build.gradle index b5ed174cb88c..44bcbf0fa8d3 100644 --- a/stdlib/jdbc/build.gradle +++ b/stdlib/jdbc/build.gradle @@ -93,7 +93,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/jsonutils/build.gradle b/stdlib/jsonutils/build.gradle index 610cf813d71d..d316a26a0ed6 100644 --- a/stdlib/jsonutils/build.gradle +++ b/stdlib/jsonutils/build.gradle @@ -52,7 +52,7 @@ createBalo { description = 'Ballerina - Json Utils' configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/jwt/build.gradle b/stdlib/jwt/build.gradle index ff4d01964f82..0df8ec76e9d9 100644 --- a/stdlib/jwt/build.gradle +++ b/stdlib/jwt/build.gradle @@ -93,7 +93,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/ldap/build.gradle b/stdlib/ldap/build.gradle index a34279c09a67..a7f3a371a95f 100644 --- a/stdlib/ldap/build.gradle +++ b/stdlib/ldap/build.gradle @@ -66,7 +66,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/math/build.gradle b/stdlib/math/build.gradle index 4c4e44428210..7b1af9692911 100644 --- a/stdlib/math/build.gradle +++ b/stdlib/math/build.gradle @@ -55,7 +55,7 @@ createBalo { description = 'Ballerina - Math' configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/messaging/kafka/build.gradle b/stdlib/messaging/kafka/build.gradle index bc679a0d31ac..483fd8ebbf86 100644 --- a/stdlib/messaging/kafka/build.gradle +++ b/stdlib/messaging/kafka/build.gradle @@ -99,7 +99,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/messaging/nats/build.gradle b/stdlib/messaging/nats/build.gradle index 44ead2fa8585..3e18cda07922 100644 --- a/stdlib/messaging/nats/build.gradle +++ b/stdlib/messaging/nats/build.gradle @@ -30,7 +30,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/messaging/rabbitmq/build.gradle b/stdlib/messaging/rabbitmq/build.gradle index 872673698400..7fe6312c3261 100644 --- a/stdlib/messaging/rabbitmq/build.gradle +++ b/stdlib/messaging/rabbitmq/build.gradle @@ -60,7 +60,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/mime/build.gradle b/stdlib/mime/build.gradle index 8c3e4feffb37..3ecccbc06711 100644 --- a/stdlib/mime/build.gradle +++ b/stdlib/mime/build.gradle @@ -26,7 +26,7 @@ configurations.testCompileClasspath { configurations { tests - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/oauth2/build.gradle b/stdlib/oauth2/build.gradle index a08519bcf601..5a0b718e084a 100644 --- a/stdlib/oauth2/build.gradle +++ b/stdlib/oauth2/build.gradle @@ -78,7 +78,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/socket/build.gradle b/stdlib/socket/build.gradle index b6857e745c59..c6c66201eb26 100644 --- a/stdlib/socket/build.gradle +++ b/stdlib/socket/build.gradle @@ -46,7 +46,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/task/build.gradle b/stdlib/task/build.gradle index 00eb6803f3b3..2309d8023ea8 100644 --- a/stdlib/task/build.gradle +++ b/stdlib/task/build.gradle @@ -25,7 +25,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/time/build.gradle b/stdlib/time/build.gradle index c1c62eddc791..a938fb4eabb6 100644 --- a/stdlib/time/build.gradle +++ b/stdlib/time/build.gradle @@ -50,7 +50,7 @@ createBalo { description = 'Ballerina - Time' configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/transactions/build.gradle b/stdlib/transactions/build.gradle index d64ef927ac48..c8756d8c208b 100644 --- a/stdlib/transactions/build.gradle +++ b/stdlib/transactions/build.gradle @@ -83,7 +83,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/xmlutils/build.gradle b/stdlib/xmlutils/build.gradle index 21163cfa3eb9..c0c4efa9ed6c 100644 --- a/stdlib/xmlutils/build.gradle +++ b/stdlib/xmlutils/build.gradle @@ -65,7 +65,7 @@ createBalo { description = 'Ballerina - Xmlutils' configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/tests/ballerina-compiler-plugin-test/build.gradle b/tests/ballerina-compiler-plugin-test/build.gradle index 9a75ff744bb8..3e054e51fd8e 100644 --- a/tests/ballerina-compiler-plugin-test/build.gradle +++ b/tests/ballerina-compiler-plugin-test/build.gradle @@ -96,7 +96,7 @@ test { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/tests/ballerina-spec-conformance-tests/build.gradle b/tests/ballerina-spec-conformance-tests/build.gradle index b80d10748ce7..7ccefe3c2b07 100644 --- a/tests/ballerina-spec-conformance-tests/build.gradle +++ b/tests/ballerina-spec-conformance-tests/build.gradle @@ -54,7 +54,7 @@ test { } configurations { - testImplementation.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testImplementation.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testImplementation.exclude group: 'com.fasterxml.woodstox', module: 'woodstox-core' testImplementation.exclude group: 'org.codehaus.woodstox', module: 'stax2-api' } diff --git a/tests/ballerina-test-utils/build.gradle b/tests/ballerina-test-utils/build.gradle index 6fb43d3ccdff..6b1a758d704a 100644 --- a/tests/ballerina-test-utils/build.gradle +++ b/tests/ballerina-test-utils/build.gradle @@ -65,7 +65,7 @@ shadowJar { exclude(dependency('org.ops4j.pax.logging:pax-logging-api')) exclude(dependency('org.wso2.eclipse.osgi:org.eclipse.osgi')) exclude(dependency('org.wso2.eclipse.osgi:org.eclipse.osgi.services')) - exclude(dependency('org.slf4j:slf4j-log4j12')) + exclude(dependency('org.apache.logging.log4j:log4j-slf4j-impl')) exclude(dependency('org.slf4j:slf4j-simple')) exclude(dependency('org.apache.logging.log4j:log4j-slf4j-impl')) exclude(dependency('io.netty:netty-common')) diff --git a/tests/ballerina-tools-integration-test/build.gradle b/tests/ballerina-tools-integration-test/build.gradle index 9d0e814b175e..697240ba958f 100644 --- a/tests/ballerina-tools-integration-test/build.gradle +++ b/tests/ballerina-tools-integration-test/build.gradle @@ -68,7 +68,7 @@ test { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' } diff --git a/tests/jballerina-bstring-unit-test/build.gradle b/tests/jballerina-bstring-unit-test/build.gradle index 9c70ed049e9d..9173f3ed5670 100644 --- a/tests/jballerina-bstring-unit-test/build.gradle +++ b/tests/jballerina-bstring-unit-test/build.gradle @@ -107,7 +107,7 @@ test { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/tests/jballerina-unit-test/build.gradle b/tests/jballerina-unit-test/build.gradle index bc138cd41c8e..aea648a99181 100644 --- a/tests/jballerina-unit-test/build.gradle +++ b/tests/jballerina-unit-test/build.gradle @@ -127,7 +127,7 @@ test { } configurations { - testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' + testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' }