From 07e7d1bd4b46cf5cfe728c21c7210131ff708ea6 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Thu, 10 Oct 2024 22:26:04 -0400 Subject: [PATCH] Use libraries Signed-off-by: Craig Perkins --- gradle/libs.versions.toml | 4 ++-- server/build.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f72eacad56b50..52d7eff1512b9 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -78,5 +78,5 @@ resteasy = "6.2.4.Final" opentelemetry = "1.41.0" opentelemetrysemconv = "1.27.0-alpha" -#[libraries] -#joda-time = { group = "joda-time", name = "joda-time", version.ref = "joda" } +[libraries] +jodatime = { group = "joda-time", name = "joda-time", version.ref = "joda" } diff --git a/server/build.gradle b/server/build.gradle index cd35745694b71..efab2ada4a8a4 100644 --- a/server/build.gradle +++ b/server/build.gradle @@ -94,7 +94,7 @@ dependencies { api project(":libs:opensearch-cli") // time handling, remove with java 8 time - api "joda-time:joda-time:${libs.versions.joda.get()}" + api(libs.jodatime) // percentiles aggregation api "com.tdunning:t-digest:${versions.tdigest}"