From ab38f3ba745266bf092b15dff6683a99e0532451 Mon Sep 17 00:00:00 2001 From: Puneet Behl Date: Tue, 23 Jan 2024 14:30:29 +0530 Subject: [PATCH] Disable publishing to Gradle Enterprise for local --- settings.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.gradle b/settings.gradle index cc2d56c..0e43275 100644 --- a/settings.gradle +++ b/settings.gradle @@ -6,7 +6,7 @@ plugins { gradleEnterprise { server = 'https://ge.grails.org' buildScan { - publishAlways() + publishAlwaysIf(System.getenv('CI') == 'true') publishIfAuthenticated() uploadInBackground = System.getenv("CI") == null capture { @@ -28,4 +28,4 @@ buildCache { } }} -rootProject.name = 'spring-security-oauth2' \ No newline at end of file +rootProject.name = 'spring-security-oauth2'