Triple-T / gradle-play-publisher

GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
MIT License
4.11k stars 340 forks source link

Configuration Cache issue with Gradle 8.1 #1083

Closed eygraber closed 1 year ago

eygraber commented 1 year ago

After updating to Gradle 8.1 I'm getting a configuration cache error:

Task `:commitEditFor<my package>` of type `com.github.triplet.gradle.play.tasks.CommitEdit`: invocation of 'Task.project' at execution time is unsupported.
  See https://docs.gradle.org/8.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

There was no error when using Gradle 8.0

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

eygraber commented 1 year ago

Bump

SUPERCILEX commented 1 year ago

PRs welcome, but I don't work on this project anymore.

ydanneg commented 1 year ago

any plans to release it?

gmazzo commented 1 year ago

This issue should be reopened since #1084 was not a fix at all. I'm taking a look at it

SUPERCILEX commented 1 year ago

@gmazzo Can you confirm the fix with the snapshot builds? If not, no worries I'll just publish.

gmazzo commented 1 year ago

@gmazzo Can you confirm the fix with the snapshot builds? If not, no worries I'll just publish.

Give me a couple of days and I'll report back cc: @rolgalan

gmazzo commented 1 year ago

@gmazzo Can you confirm the fix with the snapshot builds? If not, no worries I'll just publish.

Give me a couple of days and I'll report back cc: @rolgalan

I can confirm it worked successfully with CC on for publishReleaseBundle and promoteArtifact 🚀

image image image