From a2970a9f481140dc67397d0338903060688f18bb Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Tue, 13 Feb 2024 15:02:05 +0100 Subject: [PATCH] Only enable the remote cache if you have access key --- .mvn/gradle-enterprise.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/gradle-enterprise.xml b/.mvn/gradle-enterprise.xml index 3d9c369b492e2e..0b5d0bd574fab9 100644 --- a/.mvn/gradle-enterprise.xml +++ b/.mvn/gradle-enterprise.xml @@ -29,7 +29,7 @@ #{env['RELEASE_GITHUB_TOKEN'] == null and properties['no-build-cache'] == null} - #{env['RELEASE_GITHUB_TOKEN'] == null and properties['no-build-cache'] == null} + #{env['RELEASE_GITHUB_TOKEN'] == null and properties['no-build-cache'] == null and env['GRADLE_ENTERPRISE_ACCESS_KEY'] != null} #{env['CI'] != null and env['GRADLE_ENTERPRISE_ACCESS_KEY'] != null and env['GRADLE_ENTERPRISE_ACCESS_KEY'] != '' and env['RELEASE_GITHUB_TOKEN'] == null}