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.13k stars 341 forks source link

Support inAppUpdatePriority #776

Closed b95505017 closed 4 years ago

b95505017 commented 4 years ago

https://issuetracker.google.com/issues/133299031#comment14

So that we could use it in 0.6.5 play core to detect in app update.

SUPERCILEX commented 4 years ago

Can someone test this out with a snapshot build? I don't have an app that uses update priority.

Use ./gradlew publish[Bundle/Apk] --update-priority 5.

ArcherEmiya05 commented 2 years ago

Can someone test this out with a snapshot build? I don't have an app that uses update priority.

Use ./gradlew publish[Bundle/Apk] --update-priority 5.

Hello, just a question. I am assuming that this priority parameter is the one that mentioned here. If yes then does it mean we can either set the priority via gradle command like the above example or with the plugin task like this?

play {
    serviceAccountCredentials.set(file(PLAY_API_KEY_FILE))
    artifactDir.set(file("build/outputs/bundle/release"))
    updatePriority.set(2)
}