diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5a0766c11a2ed..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] -#jodatime = { 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}"