且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

APK谷歌Play商店中的命令行上传

更新时间:2023-02-22 10:22:45

借助摇篮Android发布插件正是这么做的,在这个问题解释你提到。公平的警告:我创建的插件,所以有可能是别人在那里,做类似的事情。当我创造了它,没有别的是可用的。

The Gradle Android Publisher plugin does exactly that, as explained in the question you referred to. Fair warning: I created the plugin, so there may be others out there that do something similar. When I created it, nothing else was available.

gradle这个androidPublish 将首先运行gradle这个Android的构建过程中建立一个版本,并签署(如果配置签名)APK,那么它将需要上传一个谷歌的护理Play根据您的配置。

gradle androidPublish will first run the gradle android build process to build a release and signed (if you configured signing) APK, then it will take care of uploading that to google play based on your configuration.

请参阅其他的问题或以上关于如何配置插件的信息的链接。

See the other question or the link above for information on how to configure the plugin.