xvik / gradle-use-python-plugin

Use python modules in gradle build

Home Page:https://xvik.github.io/gradle-use-python-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing configuration cache support

davireis opened this issue · 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

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).

4.0.0 released with configuration cache support