gradle / gradle

Adaptable, fast automation for all
https://gradle.org
Apache License 2.0
16.75k stars 4.69k forks source link

Plugins should be able to declare themselves incompatible with configuration cache #21288

Open Goooler opened 2 years ago

Goooler commented 2 years ago

Expected Behavior

Build pass.

Current Behavior

1 problem was found storing the configuration cache.
- Plugin 'applovin-quality-service': registration of listener on 'Gradle.buildFinished' is unsupported
  See https://docs.gradle.org/7.5/userguide/configuration_cache.html#config_cache:requirements:build_listeners

Context

If I can disable CC for certain plugins so that I can pass the build with CC enabled globally?

Already filed an issue to https://github.com/AppLovin/AppLovin-MAX-React-Native/issues/100, but a long time to wait.

ov7a commented 9 months ago

Sorry for the late reply!

Thank you for your interest in Gradle!

This feature request is in the backlog of the relevant team and is prioritized by them.

AliAlbaity commented 8 months ago

Hey @ov7a ,

I would also be interested in this. Could you give some sort of estimate of when this would be ready, doesn't have to be super accurate. I just want to know whether it would be worth to have a custom work around for our plugin, thanks.

ov7a commented 8 months ago

@AliAlbaity I'd say it's unlikely to happen soon and it would be faster to create a workaround for your plugin.