File tree 2 files changed +10
-8
lines changed
src/main/kotlin/no/nav/helse/rapids_rivers
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,6 @@ dependencies {
34
34
35
35
java {
36
36
withSourcesJar()
37
- manifest {
38
- attributes(mapOf (
39
- " Implementation-Title" to project.name,
40
- " Implementation-Version" to project.version
41
- ))
42
- }
43
37
}
44
38
45
39
kotlin {
@@ -49,6 +43,14 @@ kotlin {
49
43
}
50
44
51
45
tasks {
46
+ jar {
47
+ manifest {
48
+ attributes(mapOf (
49
+ " Implementation-Title" to project.name,
50
+ " Implementation-Version" to project.version
51
+ ))
52
+ }
53
+ }
52
54
withType<Test > {
53
55
useJUnitPlatform()
54
56
testLogging {
Original file line number Diff line number Diff line change @@ -281,11 +281,11 @@ class RapidApplication internal constructor(
281
281
282
282
with (meterRegistry) {
283
283
val pkg = RapidApplication .javaClass.`package`
284
- val vendor = pkg?.implementationVendor ? : " unknown"
284
+ val title = pkg?.implementationTitle ? : " unknown"
285
285
val version = pkg?.implementationVersion ? : " unknown"
286
286
MultiGauge .builder(" rapids.and.rivers.info" )
287
287
.description(" Rapids and rivers version info" )
288
- .tag(" vendor " , vendor )
288
+ .tag(" title " , title )
289
289
.tag(" version" , version)
290
290
.register(this )
291
291
.register(listOf (MultiGauge .Row .of(Tags .of(emptyList()), 1 )))
You can’t perform that action at this time.
0 commit comments