diff --git a/settings.gradle b/settings.gradle index 6520ca3a..d6493d90 100644 --- a/settings.gradle +++ b/settings.gradle @@ -24,7 +24,7 @@ buildCache { remote(develocity.buildCache) { enabled = true // Check access key presence to avoid build cache errors on PR builds when access key is not present - def accessKey = System.getenv("GRADLE_ENTERPRISE_ACCESS_KEY") + def accessKey = System.getenv("DEVELOCITY_ACCESS_KEY") push = isCI && accessKey } }