From 5003c9772005e1dbcb95acc3cfaa6218ebbf4888 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Fri, 18 Oct 2024 10:12:22 -0400 Subject: [PATCH] Only keep versions section in toml Signed-off-by: Craig Perkins --- gradle/libs.versions.toml | 3 --- plugins/repository-s3/build.gradle | 2 +- server/build.gradle | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a5e89f84a9ed5..942f46375be8b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -78,6 +78,3 @@ resteasy = "6.2.4.Final" # opentelemetry dependencies opentelemetry = "1.41.0" opentelemetrysemconv = "1.27.0-alpha" - -[libraries] -jodatime = { group = "joda-time", name = "joda-time", version.ref = "joda" } diff --git a/plugins/repository-s3/build.gradle b/plugins/repository-s3/build.gradle index 9601ecf5f9243..22aa151c92003 100644 --- a/plugins/repository-s3/build.gradle +++ b/plugins/repository-s3/build.gradle @@ -79,7 +79,7 @@ dependencies { api "com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}" api "com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}" api "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:${versions.jackson}" - api(libs.jodatime) + api "joda-time:joda-time:${versions.joda}" api "org.slf4j:slf4j-api:${versions.slf4j}" runtimeOnly "org.apache.logging.log4j:log4j-slf4j-impl:${versions.log4j}" diff --git a/server/build.gradle b/server/build.gradle index 1d47447a41443..c19e171c90f96 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(libs.jodatime) + api "joda-time:joda-time:${versions.joda}" // percentiles aggregation api "com.tdunning:t-digest:${versions.tdigest}"