Tencent / QMUI_Android

提高 Android UI 开发效率的 UI 库
http://qmuiteam.com/android
Other
14.4k stars 2.67k forks source link

谁能传授下这个代码打包方式如何使用啊? #1135

Open felixcc opened 2 years ago

felixcc commented 2 years ago

怎么打成aar并上传maven啊?

cgspine commented 2 years ago

gradle/deploy.properties 是账户信息: maven.url=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ maven.username=xxx maven.password=xxx

除此 sonatype 要求必须要有 sign 的过程,因此还要使用 GnuPG。文档:https://central.sonatype.org/publish/requirements/gpg/

然后运行 publush, 只是将包推到了 sonatype,处于 staging 状态,要去 https://s01.oss.sonatype.org/ 执行 release 操作,具体可看文档:https://central.sonatype.org/publish/release/

cgspine commented 2 years ago

https://mp.weixin.qq.com/s?__biz=Mzk0OTMzMjE2OQ==&mid=2247483684&idx=1&sn=937ab9e8fab8e8d762a9d4e45ec99af3&chksm=c358b082f42f399487313600ed26340035edf596b2c2659f69427f29f70d157a4f1f06c12145&token=1940753551&lang=zh_CN#rd