From acc448ce740b3756c622daf35d7be8372e76cebb Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 23 Feb 2022 14:25:03 +0530 Subject: Use explicit Gradle tasks to handle build artifact collection (#1745) --- app/build.gradle.kts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'app') diff --git a/app/build.gradle.kts b/app/build.gradle.kts index ebf9a98c..b3414460 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -2,7 +2,6 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ -import com.android.build.gradle.internal.api.BaseVariantOutputImpl plugins { id("com.github.android-password-store.android-application") @@ -11,6 +10,7 @@ plugins { id("com.github.android-password-store.kotlin-kapt") id("com.github.android-password-store.versioning-plugin") id("com.github.android-password-store.sentry") + id("com.github.android-password-store.rename-artifacts") id("dagger.hilt.android.plugin") } @@ -28,13 +28,6 @@ fun isSnapshot(): Boolean { } android { - if (isSnapshot()) { - applicationVariants.all { - outputs.all { - (this as BaseVariantOutputImpl).outputFileName = "aps-${flavorName}_$versionName.apk" - } - } - } compileOptions { isCoreLibraryDesugaringEnabled = true } defaultConfig { -- cgit v1.2.3