Hello all,
I'm getting many errors (related with configuration cache) running plugin tasks from Gradle 8.6 upwards. Here are some examples:
phraseUpload:
2 problems were found storing the configuration cache.
phraseCheck:
8 problems were found storing the configuration cache.
Is anyone else having the same issues with most recent versions of Gradle? Or are you using an older version on your projects?
I've tried many workarounds (like disabling configuration cache) but none of them seems to work.
Hello all,
I'm getting many errors (related with configuration cache) running plugin tasks from Gradle 8.6 upwards. Here are some examples:
phraseUpload:
2 problems were found storing the configuration cache.
:transportlist:app:phraseUploadof typephrase.tasks.UploadTask: cannot serialize Gradle script object references as these are not supported with the configuration cache.See https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
:transportlist:app:phraseUploadof typephrase.tasks.UploadTask: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.See https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
phraseCheck:
8 problems were found storing the configuration cache.
:transportlist:app:phraseCheckof typeorg.gradle.api.DefaultTask: cannot serialize Gradle script object references as these are not supported with the configuration cache.See https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
:transportlist:app:phraseCheckof typeorg.gradle.api.DefaultTask: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.See https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
:transportlist:app:phraseDuplicateKeysCheckof typephrase.tasks.DuplicateKeysCheckTask: cannot serialize Gradle script object references as these are not supported with the configuration cache.See https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
:transportlist:app:phraseDuplicateKeysCheckof typephrase.tasks.DuplicateKeysCheckTask: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.See https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
:transportlist:app:phrasePlaceHolderCheckof typephrase.tasks.PlaceHolderCheckTask: cannot serialize Gradle script object references as these are not supported with the configuration cache.See https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
:transportlist:app:phrasePlaceHolderCheckof typephrase.tasks.PlaceHolderCheckTask: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.See https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
:transportlist:app:phrasePluralsCheckof typephrase.tasks.PluralsCheckTask: cannot serialize Gradle script object references as these are not supported with the configuration cache.See https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
:transportlist:app:phrasePluralsCheckof typephrase.tasks.PluralsCheckTask: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.See https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
Is anyone else having the same issues with most recent versions of Gradle? Or are you using an older version on your projects?
I've tried many workarounds (like disabling configuration cache) but none of them seems to work.