Skip to content

Commit

Permalink
Rename New Relic automatic module to micrometer.registry.newrelic
Browse files Browse the repository at this point in the history
The previous name converted from the artifact name of `micrometer.registry.new.relic` was not valid because `new` is a reserved word in Java, and therefore, it is invalid to use in a segment of a module name.

Closes gh-3412
  • Loading branch information
shakuzen committed Sep 14, 2022
1 parent bd470ce commit cfba5ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions implementations/micrometer-registry-new-relic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ dependencies {

testImplementation project(':micrometer-test')
}

jar {
// gh-3412 override our default name because 'new' is a reserved word
manifest.attributes.put('Automatic-Module-Name', 'micrometer.registry.newrelic')
}

0 comments on commit cfba5ad

Please sign in to comment.