自动发布机器人,自动上传到蒲公英和发送钉钉机器人消息
-
在项目的
setting.gradle
文件中,添加三方库的依赖项。dependencyResolutionManagement { repositories { maven { url 'https://jitpack.io' } } }
-
在项目module的
build.gradle
文件中,添加三方库的依赖项。plugins { id 'com.github.wucomi.PublishRobot' version '1.0.0' } publishRobot { pgyApiKey pgyApiKey dingTalkSecret dingTalkSecret dingTalkWebhook "https://oapi.dingtalk.com/robot/send?access_token=$dingTalkToken" }
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request