From f67d1e9e0ada45239d2bbdfc3b6f969869d50f06 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Tue, 18 Jun 2024 20:32:30 +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 19421c709..991d06956 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -30,6 +30,12 @@ develocity { fileFingerprints = true } + publishing { + onlyIf { + authenticated + } + } + uploadInBackground = !isCiServer } }