Skip to content

Commit

Permalink
Merge branch '1.1.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Sep 26, 2023
2 parents 75e958d + 60ede13 commit 3936e11
Show file tree
Hide file tree
Showing 14 changed files with 254 additions and 177 deletions.
106 changes: 98 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,109 @@ registries:
url: https://plugins.gradle.org/m2
username: dummy # Required by dependabot
password: dummy # Required by dependabot
maven-central:
type: maven-repository
url: https://repo1.maven.org/maven2/
username: dummy # Required by dependabot
password: dummy # Required by dependabot
updates:
- package-ecosystem: "gradle"
# Github Actions
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "1.0.x" # oldest OSS supported branch
target-branch: "1.0.x" # oldest supported branch, we will merge forward
schedule:
interval: "weekly"
# Build dependencies
- package-ecosystem: gradle
directory: /
schedule:
interval: daily
target-branch: 1.0.x
groups:
netflix-plugins:
patterns:
- "com.netflix.nebula*"
update-types:
- minor
- patch
allow:
- dependency-name: "gradle.plugin.com.hierynomus.gradle.plugins*"
- dependency-name: "com.netflix.nebula*"
- dependency-name: "io.spring.nohttp*"
- dependency-name: "io.github.gradle-nexus*"
- dependency-name: "io.spring.javaformat*"
- dependency-name: "io.spring.ge.conventions*"
- dependency-name: "com.gradle*"
- dependency-name: "org.gradle*"
ignore:
# only upgrade minor and patch versions for plugin dependencies
- dependency-name: "*"
update-types:
- version-update:semver-major
registries:
- gradle-plugin-portal
- maven-central
milestone: 10
- package-ecosystem: gradle
directory: /
schedule:
interval: "weekly"
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "1.0.x" # oldest OSS supported branch
interval: daily
target-branch: 1.1.x
groups:
netflix-plugins:
patterns:
- "com.netflix.nebula*"
update-types:
- minor
- patch
allow:
- dependency-name: "gradle.plugin.com.hierynomus.gradle.plugins*"
- dependency-name: "com.netflix.nebula*"
- dependency-name: "io.spring.nohttp*"
- dependency-name: "io.github.gradle-nexus*"
- dependency-name: "io.spring.javaformat*"
- dependency-name: "io.spring.ge.conventions*"
- dependency-name: "com.gradle*"
- dependency-name: "org.gradle*"
ignore:
# only upgrade minor and patch versions for plugin dependencies
- dependency-name: "*"
update-types:
- version-update:semver-major
registries:
- gradle-plugin-portal
- maven-central
milestone: 10
# Non-build dependencies maintenance branch
- package-ecosystem: gradle
directory: /gradle
schedule:
interval: "weekly"
interval: daily
target-branch: 1.0.x
ignore:
# only upgrade patch versions
- dependency-name: "*"
update-types:
- version-update:semver-major
- version-update:semver-minor
- package-ecosystem: gradle
directory: /gradle
schedule:
interval: daily
target-branch: 1.1.x
ignore:
# only upgrade patch versions
- dependency-name: "*"
update-types:
- version-update:semver-major
- version-update:semver-minor
- package-ecosystem: gradle
directory: /
schedule:
interval: daily
target-branch: main
ignore:
# only upgrade by minor or patch
- dependency-name: "*"
update-types:
- version-update:semver-major
2 changes: 1 addition & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ jobs:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.0.0
- uses: actions/checkout@v4.1.0
- uses: gradle/wrapper-validation-action@v1
10 changes: 5 additions & 5 deletions benchmarks/build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
dependencies {
jmh project(':micrometer-tracing-bridge-brave')
jmh project(':micrometer-tracing-bridge-otel')
jmh 'org.openjdk.jmh:jmh-core:latest.release'
jmh libs.jmh
jmh 'io.zipkin.brave:brave-tests'

jmh 'ch.qos.logback:logback-classic'
jmh libs.logback

// Nebula doesn't like having jmhAnnotationProcessor without jmh so we just add it twice.
jmh 'org.openjdk.jmh:jmh-generator-annprocess:latest.release'
jmhAnnotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:latest.release'
jmh libs.jmhGeneratorAnnProcess
jmhAnnotationProcessor libs.jmhGeneratorAnnProcess
}

jmh {
jmhVersion = '1.36'
jmhVersion = '1.37'
fork = 1
warmupIterations = 1
iterations = 1
Expand Down
28 changes: 14 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ buildscript {
}

dependencies {
classpath 'gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.16.1'
classpath 'com.netflix.nebula:nebula-release-plugin:16.1.0'
classpath 'com.netflix.nebula:nebula-publishing-plugin:20.1.0'
classpath 'com.netflix.nebula:nebula-project-plugin:10.1.2'
classpath 'io.spring.nohttp:nohttp-gradle:0.0.11'
classpath 'io.github.gradle-nexus:publish-plugin:1.3.0'
classpath 'io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.39'
classpath 'me.champeau.jmh:jmh-gradle-plugin:0.7.1'
classpath libs.plugin.license
classpath libs.plugin.nebulaRelease
classpath libs.plugin.nebulaPublishing
classpath libs.plugin.nebulaProject
classpath libs.plugin.noHttp
classpath libs.plugin.nexusPublish
classpath libs.plugin.javaformat
classpath libs.plugin.jmh

constraints {
classpath('org.ow2.asm:asm:7.3.1') {
classpath(libs.asmForPlugins) {
because 'Supports modern JDKs'
}
}
Expand Down Expand Up @@ -74,11 +74,11 @@ subprojects {
// have to add the dependency in every project, which is tedious so just do it here.
dependencies {
// JSR-305 only used for non-required meta-annotations
optionalApi 'com.google.code.findbugs:jsr305:latest.release'
checkstyle 'io.spring.javaformat:spring-javaformat-checkstyle:latest.release'
jmh 'org.openjdk.jmh:jmh-core:1.36'
jmh 'org.openjdk.jmh:jmh-generator-annprocess:1.36'
jmhAnnotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:1.36'
optionalApi libs.jsr305
checkstyle libs.javaFormatForPlugins
jmh libs.jmh
jmh libs.jmhGeneratorAnnProcess
jmhAnnotationProcessor libs.jmhGeneratorAnnProcess
jmh 'net.sf.jopt-simple:jopt-simple'
}

Expand Down
85 changes: 0 additions & 85 deletions buildscript-gradle.lockfile

This file was deleted.

55 changes: 27 additions & 28 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,47 +1,46 @@
def VERSIONS = [
'javax.servlet:javax.servlet-api:latest.release',
'jakarta.platform:jakarta.jakartaee-web-api:9.+',
libs.javaxServlet,
libs.jakartaWeb,

'io.micrometer:context-propagation:1.0.+',
libs.micrometerContextPropagation,

'aopalliance:aopalliance:1.0',
'org.aspectj:aspectjweaver:1.8.+',
'org.springframework:spring-context:5.+',
'org.springframework:spring-core:5+',
libs.aopAlliance,
libs.aspectjweaver,
libs.springContext,
libs.springCore,

// logging
'ch.qos.logback:logback-classic:1.2.+',
'org.apache.logging.log4j:log4j-core:2.+',
'org.slf4j:slf4j-api:1.7.+',
libs.logback,
libs.log4j,
libs.slf4j,
// otel
'io.opentelemetry.instrumentation:opentelemetry-instrumentation-api-semconv:1.+',
libs.otelInstrumentation,
// zipkin
'io.zipkin.aws:brave-propagation-aws:latest.release',
libs.zipkinAws,
// wavefront
'com.wavefront:wavefront-sdk-java:3.+',
'com.wavefront:wavefront-internal-reporter-java:1.+',
libs.wavefrontSdk,
libs.wavefrontReporter,
// test
'org.assertj:assertj-core:latest.release',
'org.awaitility:awaitility:latest.release',
'org.mockito:mockito-core:latest.release',
'org.mockito:mockito-inline:latest.release',
'org.mockito:mockito-junit-jupiter:latest.release',
'com.github.tomakehurst:wiremock-jre8-standalone:latest.release',
'org.testcontainers:testcontainers:latest.release',
'org.testcontainers:junit-jupiter:latest.release'
libs.assertj,
libs.awaitility,
libs.mockitoCore,
libs.mockitoJunit,
libs.wiremock,
libs.testcontainers,
libs.testcontainersJunit
]

def MICROMETER_PLATFORM_VERSIONS = [
'io.micrometer:micrometer-bom:1.12.+'
libs.micrometerBom
]

def PLATFORM_VERSIONS = [
'io.zipkin.brave:brave-bom:5.+',
libs.braveBom,
// opentelemetry-instrumentation-api dependency above with this
'io.opentelemetry:opentelemetry-bom:1.+',
'io.opentelemetry:opentelemetry-bom-alpha:1.+',
'io.projectreactor:reactor-bom:latest.release',
'org.junit:junit-bom:5.10.+'
libs.otelBom,
libs.otelBomAlpha,
libs.reactorBom,
libs.junitBom
]

subprojects {
Expand Down
2 changes: 1 addition & 1 deletion docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies {
testImplementation project(':micrometer-tracing-integration-test')
testImplementation 'org.aspectj:aspectjweaver'
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.mockito:mockito-inline'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.springframework:spring-context'
}
Expand Down
Loading

0 comments on commit 3936e11

Please sign in to comment.