From 971d1370c8702922c44ad25e7a64ca43236c1d48 Mon Sep 17 00:00:00 2001 From: Yaliang Wu Date: Mon, 10 Jul 2023 10:49:34 -0700 Subject: [PATCH] add json dependency to ml-algorithms Signed-off-by: Yaliang Wu --- common/build.gradle | 2 +- ml-algorithms/build.gradle | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/build.gradle b/common/build.gradle index 4e62419962..41ffa1b8b2 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -20,7 +20,7 @@ dependencies { compileOnly group: 'org.apache.commons', name: 'commons-text', version: '1.10.0' compileOnly group: 'com.google.code.gson', name: 'gson', version: '2.10.1' - implementation group: 'org.json', name: 'json', version: '20230227' + compileOnly group: 'org.json', name: 'json', version: '20230227' } jacocoTestReport { diff --git a/ml-algorithms/build.gradle b/ml-algorithms/build.gradle index 567a573d82..8c6a9ca0db 100644 --- a/ml-algorithms/build.gradle +++ b/ml-algorithms/build.gradle @@ -63,6 +63,7 @@ dependencies { implementation 'software.amazon.awssdk:apache-client' implementation 'com.amazonaws:aws-encryption-sdk-java:2.4.0' implementation 'com.jayway.jsonpath:json-path:2.8.0' + implementation group: 'org.json', name: 'json', version: '20230227' } configurations.all {