首页 > 其他 > 详细

gradle build scan 插件使用

时间:2017-11-13 15:26:25      阅读:938      评论:0      收藏:0      [点我收藏+]
1. 添加插件
build.gradle

plugins {
    id ‘com.gradle.build-scan‘ version ‘1.10.2‘
}

buildScan {
// Uncomment the lines below to agree to the Terms of Service.
    licenseAgreementUrl = ‘https://gradle.com/terms-of-service‘
    licenseAgree = ‘yes‘
    tag ‘SAMPLE‘
    link ‘GitHub‘, ‘https://github.com/gradle/gradle-build-scan-quickstart‘
}
2. 启动
./gradlew build --scan
3. 启动生成的云端url
 
   效果如下:
 
技术分享
 
4. 登录查看(email 校验)
技术分享
 
5. 参考文档
https://guides.gradle.org/creating-build-scans/

gradle build scan 插件使用

原文:http://www.cnblogs.com/rongfengliang/p/7826106.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!