Running jmh with gradle 7.4.1 we now get this warning, this PR replaces this with the new API.
> Task :jmh-panama:jmhRunBytecodeGenerator
The JavaExecHandleBuilder.setMain(String) method has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the mainClass property instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.4.1/userguide/upgrading_version_7.html#java_exec_properties
Running jmh with gradle 7.4.1 we now get this warning, this PR replaces this with the new API.
This was the only usage left.