gradle build scan 插件使用

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/

posted on 2017-11-13 14:16  荣锋亮  阅读(1471)  评论(0编辑  收藏  举报

导航