From 43399ffabf09bc1a7d4fb77c6f9836a56fc9e72e Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Thu, 10 Oct 2024 22:10:41 -0400 Subject: [PATCH] Define version catalog Signed-off-by: Craig Perkins --- buildSrc/settings.gradle | 8 ++++++++ settings.gradle | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/buildSrc/settings.gradle b/buildSrc/settings.gradle index 963177afaa2de..199cb8fe175f8 100644 --- a/buildSrc/settings.gradle +++ b/buildSrc/settings.gradle @@ -10,3 +10,11 @@ */ include 'reaper' + +dependencyResolutionManagement { + versionCatalogs { + libs { + from(files("../gradle/libs.versions.toml")) + } + } +} diff --git a/settings.gradle b/settings.gradle index 86fb73b7cf7fb..8412d198a2a29 100644 --- a/settings.gradle +++ b/settings.gradle @@ -139,14 +139,6 @@ include projects.toArray(new String[0]) project(':build-tools').projectDir = new File(rootProject.projectDir, 'buildSrc') project(':build-tools:reaper').projectDir = new File(rootProject.projectDir, 'buildSrc/reaper') -//dependencyResolutionManagement { -// versionCatalogs { -// libs { -// from(files("gradle/libs.versions.toml")) -// } -// } -//} - project(":libs").children.each { libsProject -> libsProject.name = "opensearch-${libsProject.name}" }