Skip to content

Commit

Permalink
build: add patching rules for 'io.micrometer' and its dependencies (#68)
Browse files Browse the repository at this point in the history
Signed-off-by: Jendrik Johannes <[email protected]>
  • Loading branch information
jjohannes authored Jan 9, 2025
1 parent 9d53d48 commit 7bd02b0
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

## Version 0.2.1

* JPMS - add patching rule: io.prometheus:prometheus-metrics-config
* JPMS - add patching rule: io.prometheus:prometheus-metrics-core
* JPMS - add patching rule: io.prometheus:prometheus-metrics-exposition-formats
* JPMS - add patching rule: io.prometheus:prometheus-metrics-exposition-textformat
* JPMS - add patching rule: io.prometheus:prometheus-metrics-model
* JPMS - add patching rule: io.prometheus:prometheus-metrics-tracer-common
* JPMS - add patching rule: io.prometheus:prometheus-metrics-tracer-initializer
* JPMS - add patching rule: io.prometheus:prometheus-metrics-tracer-otel
* JPMS - add patching rule: io.prometheus:prometheus-metrics-tracer-otel-agent
* JPMS - add patching rule: io.prometheus:simpleclient_tracer_common
* JPMS - add patching rule: io.micrometer:micrometer-commons
* JPMS - add patching rule: io.micrometer:micrometer-core
* JPMS - add patching rule: io.micrometer:micrometer-observation
* JPMS - add patching rule: io.micrometer:micrometer-registry-prometheus
* JPMS - add patching rule: org.hdrhistogram:HdrHistogram
* JPMS - add patching rule: org.latencyutils:LatencyUtils
* JPMS - remove patching rule: org.json:json

## Version 0.2.0
Expand Down
25 changes: 25 additions & 0 deletions src/main/kotlin/org.hiero.gradle.base.jpms-modules.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,38 @@ extraJavaModuleInfo {
module("org.eclipse.collections:eclipse-collections-api", "org.eclipse.collections.api")
module("org.eclipse.collections:eclipse-collections", "org.eclipse.collections.impl")
module("org.xerial.snappy:snappy-java", "org.xerial.snappy.java")
module("io.prometheus:prometheus-metrics-config", "io.prometheus.metrics.config")
module("io.prometheus:prometheus-metrics-core", "io.prometheus.metrics.core")
module(
"io.prometheus:prometheus-metrics-exposition-formats",
"io.prometheus.metrics.expositionformats"
)
module("io.prometheus:prometheus-metrics-exposition-textformats", "io.prometheus.writer.text")
module("io.prometheus:prometheus-metrics-model", "io.prometheus.metrics.model")
module("io.prometheus:prometheus-metrics-tracer-common", "io.prometheus.metrics.tracer.common")
module(
"io.prometheus:prometheus-metrics-tracer-initializer",
"io.prometheus.metrics.tracer.initializer"
)
module("io.prometheus:prometheus-metrics-tracer-otel", "io.prometheus.metrics.tracer.otel")
module(
"io.prometheus:prometheus-metrics-tracer-otel-agent",
"io.prometheus.metrics.tracer.otel_agent"
)
module("io.prometheus:simpleclient", "io.prometheus.simpleclient")
module("io.prometheus:simpleclient_common", "io.prometheus.simpleclient_common")
module("io.prometheus:simpleclient_httpserver", "io.prometheus.simpleclient.httpserver") {
exportAllPackages()
requireAllDefinedDependencies()
requires("jdk.httpserver")
}
module("io.prometheus:simpleclient_tracer_common", "io.prometheus.simpleclient.tracer.common")
module("io.micrometer:micrometer-commons", "micrometer.commons")
module("io.micrometer:micrometer-core", "micrometer.core")
module("io.micrometer:micrometer-observation", "micrometer.observation")
module("io.micrometer:micrometer-registry-prometheus", "micrometer.registry.prometheus")
module("org.hdrhistogram:HdrHistogram", "org.hdrhistogram")
module("org.latencyutils:LatencyUtils", "org.latencyutils")

module(
"io.netty:netty-transport-native-epoll|linux-x86_64",
Expand Down

0 comments on commit 7bd02b0

Please sign in to comment.