GoogleCloudPlatform / GoogleCloudPlatform/appengine-plugins

Make app-gradle-plugin configuration cache compatible

Open
#997 7 comments 1 reaction 0 assignees View on GitHub
enhancement p2
Dominant language
Java
Stars
47
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Make app-gradle-plugin configuration cache compatible. [Configuration cache](https://docs.gradle.org/current/userguide/configuration_cache.html) is about to ship stable. Enabling it currently causes GCP gradle plugin to fail in multiple ways
```
3 problems were found reusing the configuration cache.
- Task `:appengineDeploy` of type `com.google.cloud.tools.gradle.appengine.core.DeployTask`: cannot deserialize object of type 'org.gradle.api.Project' as these are not supported with the configuration cache.
See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:appengineStage` of type `com.google.cloud.tools.gradle.appengine.appyaml.StageAppYamlTask`: cannot deserialize object of type 'org.gradle.api.Project' as these are not supported with the configuration cache.
See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:downloadCloudSdk` of type `com.google.cloud.tools.gradle.appengine.core.DownloadCloudSdkTask`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/7.6/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.