From 2333d523c871cabe485478a23bce8473c5c5273c Mon Sep 17 00:00:00 2001 From: Arjun kumar Giri Date: Thu, 7 Dec 2023 12:13:47 -0800 Subject: [PATCH] Fix Alerting tool runtime failure on ClassNotFoundException Signed-off-by: Arjun kumar Giri --- ml-algorithms/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ml-algorithms/build.gradle b/ml-algorithms/build.gradle index 5d7898bba4..656a2738d0 100644 --- a/ml-algorithms/build.gradle +++ b/ml-algorithms/build.gradle @@ -48,7 +48,9 @@ dependencies { implementation("ai.djl.onnxruntime:onnxruntime-engine:0.21.0") { exclude group: "com.microsoft.onnxruntime", module: "onnxruntime" } - compileOnly "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}" + implementation("org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}") { + exclude group: "org.jetbrains", module: "annotations" + } def os = DefaultNativePlatform.currentOperatingSystem //mac doesn't support GPU