From 2b293e58056ea897c305bd39e21b42f5cd4d1a62 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 4 Feb 2022 19:29:36 +0530 Subject: Port build to Gradle 7.4-rc-2 (#1707) --- app/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8247be00..df8b281b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -20,8 +20,8 @@ crowdin { fun isSnapshot(): Boolean { with(project.providers) { - val workflow = environmentVariable("GITHUB_WORKFLOW").forUseAtConfigurationTime() - val snapshot = environmentVariable("SNAPSHOT").forUseAtConfigurationTime() + val workflow = environmentVariable("GITHUB_WORKFLOW") + val snapshot = environmentVariable("SNAPSHOT") return workflow.isPresent || snapshot.isPresent } } -- cgit v1.2.3