melix / jmh-gradle-plugin

Integrates the JMH benchmarking framework with Gradle
Apache License 2.0
659 stars 88 forks source link

Remove setCanBeResolved(true) #252

Closed dtrunk90 closed 12 months ago

dtrunk90 commented 1 year ago

Fixes: The resolvable usage is already allowed on configuration ':jmhRuntimeClasspath'. This behavior has been deprecated. This behavior is scheduled to be removed in Gradle 9.0. Remove the call to setCanBeResolved(true), it has no effect. Consult the upgrading guide for further information: https://docs.gradle.org/8.2/userguide/upgrading_version_8.html#redundant_configuration_usage_activation

melix commented 12 months ago

I don't quite understand why this becomes a deprecated behavior, it used to be that the flag wasn't set, so it makes supporting multiple versions of Gradle harder. Anyway... thanks for the PR!

perlun commented 10 months ago

Thanks for the fix @dtrunk90. @melix - it would be nice to get a release with this fix included, to get rid of this Gradle warning on more recent versions. :pray:

lukeramsden commented 9 months ago

Bump, would be lovely to get the latest 23 commits in to a new release :smiley: