Skip to content

Commit

Permalink
add name as task input too
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Rzeszutek committed Mar 31, 2022
1 parent 5962b86 commit 1306341
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ tasks {
val generateInstrumentationVersionFile by registering {
val name = computeInstrumentationName()
val version = project.version as String
inputs.property("project.version", version)
inputs.property("instrumentation.name", name)
inputs.property("instrumentation.version", version)

val propertiesDir = File(project.buildDir, "generated/instrumentationVersion/META-INF/io/opentelemetry/instrumentation/")
outputs.dir(propertiesDir)
Expand Down

0 comments on commit 1306341

Please sign in to comment.