diff --git a/settings.gradle.kts b/settings.gradle.kts index ec3c410128..b6b98f4490 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -23,7 +23,7 @@ develocity { // In CI, publish build scans automatically. // Locally, publish build scans on-demand, when `--scan` option is provided: - publishing.onlyIf { System.getProperty("CI") != null } + publishing.onlyIf { System.getenv("CI") != null } } }