Skip to content

Commit

Permalink
Remove metric-schema gradle 8 workaround (#1871)
Browse files Browse the repository at this point in the history
Remove metric-schema gradle 8 workaround

See palantir/metric-schema#1092
  • Loading branch information
schlosna authored Feb 14, 2024
1 parent 4dd75a2 commit ec5c57c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
8 changes: 8 additions & 0 deletions changelog/@unreleased/pr-1871.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type: fix
fix:
description: |-
Remove metric-schema gradle 8 workaround
See https://github.com/palantir/metric-schema/pull/1092
links:
- https://github.com/palantir/tritium/pull/1871
4 changes: 0 additions & 4 deletions tritium-lib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
apply plugin: 'com.palantir.external-publish-jar'
apply plugin: 'com.palantir.metric-schema'

// work around metric-schema gradle 8 task dependency
tasks.sourcesJar.dependsOn(generateMetrics)
tasks.sourcesJar.dependsOn(compileMetricSchema)

dependencies {
api 'io.dropwizard.metrics:metrics-core'
api project(':tritium-api')
Expand Down
4 changes: 0 additions & 4 deletions tritium-metrics-jvm/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
apply plugin: 'com.palantir.external-publish-jar'
apply plugin: 'com.palantir.metric-schema'

// work around metric-schema gradle 8 task dependency
tasks.sourcesJar.dependsOn(generateMetrics)
tasks.sourcesJar.dependsOn(compileMetricSchema)

dependencies {
api 'io.dropwizard.metrics:metrics-core'
api project(':tritium-registry')
Expand Down
4 changes: 0 additions & 4 deletions tritium-metrics/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
apply plugin: 'com.palantir.external-publish-jar'
apply plugin: 'com.palantir.metric-schema'

// work around metric-schema gradle 8 task dependency
tasks.sourcesJar.dependsOn(generateMetrics)
tasks.sourcesJar.dependsOn(compileMetricSchema)

dependencies {
api 'io.dropwizard.metrics:metrics-core'
api project(':tritium-api')
Expand Down

0 comments on commit ec5c57c

Please sign in to comment.