From 37b80d5d1930d9847573520ba335b1af6bbb0eee Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 19 May 2022 12:53:59 +0530 Subject: Upgrade to AGP 7.2.0 (#1920) --- app/build.gradle.kts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'app/build.gradle.kts') diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 88a15211..e5d0c5d2 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -20,14 +20,6 @@ crowdin { skipCleanup = false } -fun isSnapshot(): Boolean { - with(project.providers) { - val workflow = environmentVariable("GITHUB_WORKFLOW") - val snapshot = environmentVariable("SNAPSHOT") - return workflow.isPresent || snapshot.isPresent - } -} - android { compileOptions { isCoreLibraryDesugaringEnabled = true } @@ -96,7 +88,7 @@ dependencies { implementation(libs.thirdparty.sshauth) implementation(libs.thirdparty.sshj) - if (isSnapshot()) { + if (snapshot.snapshot) { implementation(libs.thirdparty.whatthestack) } else { debugImplementation(libs.thirdparty.whatthestack) -- cgit v1.2.3