Skip to content

Commit f1f1bb5

Browse files
refactor: Only publish build scans if authenticated
Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/kLJjXlflM?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <[email protected]>
1 parent c223f32 commit f1f1bb5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

settings.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ develocity {
2929
fileFingerprints = true
3030
}
3131

32+
publishing {
33+
onlyIf {
34+
authenticated
35+
}
36+
}
37+
3238
uploadInBackground = !isCiServer
3339
}
3440
}

0 commit comments

Comments
 (0)