-
-
Notifications
You must be signed in to change notification settings - Fork 338
Open
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviordontclosePrevents the stale bot from closing this issue/prPrevents the stale bot from closing this issue/pr
Description
Describe the bug
When I try to rollout app I got error:
> Task :app:promoteArtifact FAILED
> Task :commitEditForComDotPetDotMain
Committing changes
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':app:promoteArtifact' (type 'UpdatableTrackLifecycleTask').
- In plugin 'com.github.triplet.gradle.play.PlayPublisherPlugin$Inject' type 'com.github.triplet.gradle.play.tasks.internal.UpdatableTrackLifecycleTask' property 'extension.commit' doesn't have a configured value.
Reason: This property isn't marked as optional and no value has been configured.
Possible solutions:
1. Assign a value to 'extension.commit'.
2. Mark property 'extension.commit' as optional.
For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#value_not_set in the Gradle documentation.
- In plugin 'com.github.triplet.gradle.play.PlayPublisherPlugin$Inject' type 'com.github.triplet.gradle.play.tasks.internal.UpdatableTrackLifecycleTask' property 'extension.defaultToAppBundles' doesn't have a configured value.
Reason: This property isn't marked as optional and no value has been configured.
Possible solutions:
1. Assign a value to 'extension.defaultToAppBundles'.
2. Mark property 'extension.defaultToAppBundles' as optional.
For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#value_not_set in the Gradle documentation.
- In plugin 'com.github.triplet.gradle.play.PlayPublisherPlugin$Inject' type 'com.github.triplet.gradle.play.tasks.internal.UpdatableTrackLifecycleTask' property 'extension.enabled' doesn't have a configured value.
Reason: This property isn't marked as optional and no value has been configured.
Possible solutions:
1. Assign a value to 'extension.enabled'.
2. Mark property 'extension.enabled' as optional.
For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#value_not_set in the Gradle documentation.
- In plugin 'com.github.triplet.gradle.play.PlayPublisherPlugin$Inject' type 'com.github.triplet.gradle.play.tasks.internal.UpdatableTrackLifecycleTask' property 'extension.resolutionStrategy' doesn't have a configured value.
Reason: This property isn't marked as optional and no value has been configured.
Possible solutions:
1. Assign a value to 'extension.resolutionStrategy'.
2. Mark property 'extension.resolutionStrategy' as optional.
For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#value_not_set in the Gradle documentation.
- In plugin 'com.github.triplet.gradle.play.PlayPublisherPlugin$Inject' type 'com.github.triplet.gradle.play.tasks.internal.UpdatableTrackLifecycleTask' property 'extension.track' doesn't have a configured value.
Reason: This property isn't marked as optional and no value has been configured.
Possible solutions:
1. Assign a value to 'extension.track'.
2. Mark property 'extension.track' as optional.
For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#value_not_set in the Gradle documentation.
How To Reproduce
Plugin configuration from ./app/build.gradle.kts
plugins {
id("com.github.triplet.play")
}
configure<com.github.triplet.gradle.play.PlayPublisherExtension> {
serviceAccountCredentials.set(file("$credentialDir/google-play-service-account-key.json"))
defaultToAppBundles.set(true)
enabled.set(true)
commit.set(true)
resolutionStrategy.set(com.github.triplet.gradle.androidpublisher.ResolutionStrategy.FAIL)
track.set("beta")
}
I publish aab
into Beta channel as well by.
:app:publishReleaseBundle -Pp_track=beta
(1) After that I try to move and rollout on 5% in production channel:
./gradlew :app:promoteArtifact --from-track beta --promote-track production --release-status inProgress --user-fraction 0.05 --no-configuration-cache
(2) and after that I try to rollout on 5.1% into production channel:
./gradlew :app:promoteArtifact --from-track production --promote-track production --release-status inProgress --user-fraction 0.051 --no-configuration-cache
On (1) and (2) task I got the error wich described above.
Versions
- Gradle Play Publisher: 3.8.6
- Gradle Wrapper: 8.5
- Android Gradle Plugin: 8.2.0
Tasks executed
promoteArtifact
Expected behavior
Rollout the app without error.
Dkonopelkin, boltovCian, IvanPl311, shinkcian, raedn and 4 more
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviordontclosePrevents the stale bot from closing this issue/prPrevents the stale bot from closing this issue/pr