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.12k stars 340 forks source link

Possibility to turn off default `publish` task #917

Closed tprochazka closed 3 years ago

tprochazka commented 3 years ago

I'm still fighting with the fact that this plugin sharing publish task name with a normal Gradle publish plugin. It is an issue on the existing projects which has several library modules that are already published to maven artifactory. It always has setup CI infrastructure, where it runs simply gradlew publish. And when I add this plugin there it always broke this setup, because it immediately starts to publishing also to Play. Would be possible to add a switch that allows explicitly turn off this default root task? So then will be possible to choose if I want to deploy to artifactory by publish or to Play with publishBundle for example.

SUPERCILEX commented 3 years ago

Yeah, if it's still causing issues may as well remove the dependency.

tprochazka commented 3 years ago

You mean remove the dependency on gradle-play-publisher? No, this is definitely not a possible way ;-)

SUPERCILEX commented 3 years ago

No, sorry I meant GPP should stop adding itself to the publish task. :)

tprochazka commented 3 years ago

Thanks!