From ca67634110eaf52f025eeff9ad448a6ca8025002 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Thu, 23 May 2024 16:08:29 -0600 Subject: [PATCH] Conditionally Add Conventions Plugin --- settings.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/settings.gradle b/settings.gradle index 55b86a99e06..2f312b2e138 100644 --- a/settings.gradle +++ b/settings.gradle @@ -6,7 +6,11 @@ pluginManagement { plugins { id "com.gradle.develocity" version "3.17.4" - id "io.spring.ge.conventions" version "0.0.17" + id "io.spring.ge.conventions" version "0.0.17" apply false +} + +if (System.getenv("DEVELOCITY_ACCESS_KEY")) { + apply plugin: "io.spring.ge.conventions" } dependencyResolutionManagement {