Skip to content

Commit

Permalink
Merge branch 'main' into lib-toml
Browse files Browse the repository at this point in the history
  • Loading branch information
cwperks committed Oct 11, 2024
2 parents 221104d + 43399ff commit aaee06f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ updates:
open-pull-requests-limit: 1
package-ecosystem: "github-actions"
schedule:
interval: "weekly"
interval: "daily"
time: "21:10"
labels:
- "dependabot"
- "dependencies"
Expand Down
8 changes: 8 additions & 0 deletions buildSrc/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@
*/

include 'reaper'

dependencyResolutionManagement {
versionCatalogs {
libs {
from(files("../gradle/libs.versions.toml"))
}
}
}
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,6 @@ resteasy = "6.2.4.Final"
# opentelemetry dependencies
opentelemetry = "1.41.0"
opentelemetrysemconv = "1.27.0-alpha"

#[libraries]
#joda-time = { group = "joda-time", name = "joda-time", version.ref = "joda" }
2 changes: 1 addition & 1 deletion plugins/repository-s3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 "joda-time:joda-time:${versions.joda}"
api "joda-time:joda-time:${libs.versions.joda.get()}"
api "org.slf4j:slf4j-api:${versions.slf4j}"

runtimeOnly "org.apache.logging.log4j:log4j-slf4j-impl:${versions.log4j}"
Expand Down
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:${versions.joda}"
api "joda-time:joda-time:${libs.versions.joda.get()}"

// percentiles aggregation
api "com.tdunning:t-digest:${versions.tdigest}"
Expand Down
8 changes: 0 additions & 8 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
Expand Down

0 comments on commit aaee06f

Please sign in to comment.