File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,30 @@ pluginManagement {
66 }
77}
88
9- plugins { id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 1.0.0" }
9+ plugins {
10+ id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 1.0.0"
11+ id(" com.gradle.develocity" ) version " 4.1"
12+ }
13+
14+ develocity {
15+ buildScan {
16+ termsOfUseUrl.set(" https://gradle.com/help/legal-terms-of-use" )
17+ termsOfUseAgree.set(" yes" )
18+ uploadInBackground.set(false )
19+
20+ publishing { onlyIf { System .getenv(" GITHUB_ACTIONS" ) == " true" } }
21+
22+ if (System .getenv(" GITHUB_ACTIONS" ) == " true" ) {
23+ tag(" CI" )
24+ value(" Git SHA" , System .getenv(" GITHUB_SHA" ) ? : " unknown" )
25+ value(" Git Ref" , System .getenv(" GITHUB_REF" ) ? : " unknown" )
26+ link(
27+ " GitHub Run" ,
28+ " ${System .getenv(" GITHUB_SERVER_URL" )} /${System .getenv(" GITHUB_REPOSITORY" )} /actions/runs/${System .getenv(" GITHUB_RUN_ID" )} " ,
29+ )
30+ }
31+ }
32+ }
1033
1134rootProject.name = " qs-kotlin"
1235
You can’t perform that action at this time.
0 commit comments