Skip to content

Commit

Permalink
Specify version catalog
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Oct 11, 2024
1 parent 04d54b7 commit 544d2cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ dependencies {
api project(":libs:opensearch-cli")

// time handling, remove with java 8 time
api "joda-time:joda-time:2.12.7"
api "joda-time:joda-time:${libs.versions.joda}"

// percentiles aggregation
api "com.tdunning:t-digest:${versions.tdigest}"
Expand Down
14 changes: 7 additions & 7 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@ 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"))
// }
// }
//}
dependencyResolutionManagement {
versionCatalogs {
libs {
from(files("gradle/libs.versions.toml"))
}
}
}

project(":libs").children.each { libsProject ->
libsProject.name = "opensearch-${libsProject.name}"
Expand Down

0 comments on commit 544d2cd

Please sign in to comment.