See https://github.com/melix/jmh-gradle-plugin/issues/157

Comment From: snicoll

I've moved this to a task as the dependency upgrade is not user facing.