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.1k
stars
340
forks
source link
publishBundle task doesn't support gradle configuration cache. #1008
Run ./gradlew publishBundle with gradle configuration cache turned on.
Versions
Gradle Play Publisher: 3.6.0
Gradle Wrapper: 7.2
Android Gradle Plugin: 7.0.2
Tasks executed
./gradlew publishBundle
Expected behavior
The execution to not fail, even with gradle configuration cache turned on.
Additional context (if a crash, provide stack trace)
> Task :target:mobile:app:publishBundle
> Task :commitEditForNetDotGlobalid
Committing changes
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache problems found in this build.
3 problems were found storing the configuration cache.
- Task `:commitEditForNetDotGlobalid` of type `com.github.triplet.gradle.play.tasks.CommitEdit`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/7.2/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:target:mobile:app:collectCurrentProdReleaseDependencies` of type `com.android.build.gradle.internal.tasks.PerModuleReportDependenciesTask`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/7.2/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:target:mobile:app:publishCurrentProdReleaseBundle` of type `com.github.triplet.gradle.play.tasks.PublishBundle`: value 'provider(?)' failed to unpack provider
See the complete report at file:///var/lib/****/workspace/Android_master/build/reports/configuration-cache/50jlb4fj9wqc0kniiuiy8drf0/cfmajb8dtzu98y2m5bob7r1ok/configuration-cache-report.html
> Querying the mapped value of property(org.gradle.api.file.RegularFile, property(org.gradle.api.file.RegularFile, property(org.gradle.api.file.RegularFile, map(org.gradle.api.file.RegularFile flatmap(provider(task 'signCurrentProdReleaseBundle', class com.android.build.gradle.internal.tasks.FinalizeBundleTask)) check-type())))) before task ':target:mobile:app:signCurrentProdReleaseBundle' has completed is not supported
> Invocation of 'Task.project' by task ':target:mobile:app:collectCurrentProdReleaseDependencies' at execution time is unsupported.
> Invocation of 'Task.project' by task ':commitEditForNetDotExample' at execution time is unsupported.
Describe the bug
When
How To Reproduce
Run
./gradlew publishBundle
with gradle configuration cache turned on.Versions
Tasks executed
./gradlew publishBundle
Expected behavior
The execution to not fail, even with gradle configuration cache turned on.
Additional context (if a crash, provide stack trace)