From f1f1bb5bd0d97d34d3c82c813854e0f6aaa4670b Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Tue, 18 Jun 2024 20:31:50 +0000 Subject: [PATCH] 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 --- settings.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/settings.gradle.kts b/settings.gradle.kts index cb74bf3b0d..4e53f644ad 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -29,6 +29,12 @@ develocity { fileFingerprints = true } + publishing { + onlyIf { + authenticated + } + } + uploadInBackground = !isCiServer } }