gradle-use-python-plugin icon indicating copy to clipboard operation
gradle-use-python-plugin copied to clipboard

Missing configuration cache support

Open davireis opened this issue 2 years ago • 1 comments

See error below:

 Plugin 'ru.vyarus.use-python': registration of listener on 'Gradle.buildFinished' is unsupported
 See https://docs.gradle.org/8.0.2/userguide/configuration_cache.html#config_cache:requirements:build_listeners

For more information on configuration cache: https://blog.gradle.org/introducing-configuration-caching

davireis avatar May 28 '23 22:05 davireis

Yes, configuration cache is not supported yet because there was no alternative to buildFinished listener. But since 8.1 there is a flowscope api which could be used instead.

I will try to use it and, in case of success, plugin would support build cache for gradle 8.1 and above and will fallback to old listener for older gradle versions. Can't promise it very soon, but not too long.

And, just for reference (to keep track), configuration cache issue in mkdocs plugin (relative of this plugin).

xvik avatar May 29 '23 07:05 xvik

4.0.0 released with configuration cache support

xvik avatar Apr 14 '24 07:04 xvik