From 80fc198af89a44e90406c8de8245c94ab5a8f3d7 Mon Sep 17 00:00:00 2001 From: Noir <63553175+Noir01@users.noreply.github.com> Date: Sat, 14 Oct 2023 03:17:40 -0400 Subject: [PATCH 1/3] Added slf4j-jdk14.jar to classpath Adding binding for SLF4J that should fix StaticLoggerBinder being not loaded. Followed instructions from warning messages that appear. Signed-off-by: Noir <63553175+Noir01@users.noreply.github.com> --- notifications/notifications/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/notifications/notifications/build.gradle b/notifications/notifications/build.gradle index 0db0b393..1adcafd3 100644 --- a/notifications/notifications/build.gradle +++ b/notifications/notifications/build.gradle @@ -99,6 +99,7 @@ dependencies { exclude group: 'org.jetbrains', module: 'annotations' // resolve jarhell } // ${kotlin_version} does not work for coroutines implementation "${group}:common-utils:${common_utils_version}" + implementation "org.slf4j:slf4j-jdk14:1.7.32" // TODO: change compile to implementation when the _local/stats API is supported compileOnly "org.json:json:20230227" compileOnly "com.github.wnameless.json:json-flattener:0.13.0" From 414c64d0a1605032666f3ada2b7857b1e2940226 Mon Sep 17 00:00:00 2001 From: Aniruddh <63553175+Noir01@users.noreply.github.com> Date: Sat, 28 Oct 2023 15:54:44 -0400 Subject: [PATCH 2/3] Undid 80fc198af89a44e90406c8de8245c94ab5a8f3d7 Removed slf4j-jdk14.jar from classpath Signed-off-by: Aniruddh <63553175+Noir01@users.noreply.github.com> --- notifications/core/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/notifications/core/build.gradle b/notifications/core/build.gradle index a00ccf60..757d18ea 100644 --- a/notifications/core/build.gradle +++ b/notifications/core/build.gradle @@ -144,6 +144,7 @@ dependencies { implementation "com.sun.mail:javax.mail:1.6.2" implementation "javax.activation:activation:1.1" implementation "org.slf4j:slf4j-api:${versions.slf4j}" //Needed for httpclient5 + implementation "org.apache.logging.log4j:log4j-slf4j-impl:${versions.log4j}" testImplementation( 'org.assertj:assertj-core:3.16.1', 'org.junit.jupiter:junit-jupiter-api:5.6.2', From 0043c7e3097b6b54229ad7af631bbeb0e9e4158f Mon Sep 17 00:00:00 2001 From: Aniruddh <63553175+Noir01@users.noreply.github.com> Date: Sat, 28 Oct 2023 15:59:49 -0400 Subject: [PATCH 3/3] Added org.apache.logging.log4j:log4j-slf4j-impl to classpath Signed-off-by: Aniruddh <63553175+Noir01@users.noreply.github.com> --- notifications/notifications/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/notifications/notifications/build.gradle b/notifications/notifications/build.gradle index 1adcafd3..0db0b393 100644 --- a/notifications/notifications/build.gradle +++ b/notifications/notifications/build.gradle @@ -99,7 +99,6 @@ dependencies { exclude group: 'org.jetbrains', module: 'annotations' // resolve jarhell } // ${kotlin_version} does not work for coroutines implementation "${group}:common-utils:${common_utils_version}" - implementation "org.slf4j:slf4j-jdk14:1.7.32" // TODO: change compile to implementation when the _local/stats API is supported compileOnly "org.json:json:20230227" compileOnly "com.github.wnameless.json:json-flattener:0.13.0"