diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-05-19 12:53:59 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 07:23:59 +0000 |
commit | 37b80d5d1930d9847573520ba335b1af6bbb0eee (patch) | |
tree | 77a67255f3c3e401304c4c63fc18f7987bfb1342 /app | |
parent | 75d980e9eb95c0f8730b4f1c28da964810b7d777 (diff) |
Upgrade to AGP 7.2.0 (#1920)
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle.kts | 10 |
1 files changed, 1 insertions, 9 deletions
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) |