Skip to content

Commit

Permalink
Reuse compatibleVersion project property in benchmark build.gradle (#330
Browse files Browse the repository at this point in the history
)

When running the benchmark using the baseline (latest release of BlockHound) like this:

./gradlew --no-daemon benchmarks:jmh -PjmhTarget=baseline 

then the baseline version to use is hard coded in the benchmark build.gradle.
Now, for japicmp, we have introduced the baseline version in the gradle.properties (compatibleVersion).

Let's reuse this "compatibleVersion" project property from benchmark/gradle.properties, this will make a little bit easier the release process.
  • Loading branch information
pderop authored Jan 26, 2023
1 parent e2c3978 commit 5e1216c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jmh {
dependencies {
switch (project.findProperty("jmhTarget")) {
case "baseline":
jmh 'io.projectreactor.tools:blockhound:1.0.6.RELEASE'
jmh "io.projectreactor.tools:blockhound:${compatibleVersion}"
break
default:
jmh project(path: ":agent", configuration: 'shadow')
Expand Down

0 comments on commit 5e1216c

Please sign in to comment.