gradle build scan 插件使用

时间:2023-01-23 21:29:01
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
 
   效果如下:
 
gradle build scan 插件使用
 
4. 登录查看(email 校验)
gradle build scan 插件使用
 
5. 参考文档
https://guides.gradle.org/creating-build-scans/