aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-02-04 19:29:36 +0530
committerGitHub <noreply@github.com>2022-02-04 13:59:36 +0000
commit2b293e58056ea897c305bd39e21b42f5cd4d1a62 (patch)
treeadde6c48d9f78d2aa70fe8867057cefe7bda27cd /app/build.gradle.kts
parentce75d0e49b68e28aedd19293515d2a8fa56e2180 (diff)
Port build to Gradle 7.4-rc-2 (#1707)
Diffstat (limited to 'app/build.gradle.kts')
-rw-r--r--app/build.gradle.kts4
1 files changed, 2 insertions, 2 deletions
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
}
}