From 2533f6ebeff16876f78cc846a564fc682225c98a Mon Sep 17 00:00:00 2001 From: Claudiu-Vlad Ursache Date: Thu, 11 Aug 2022 09:26:33 +0200 Subject: [PATCH] Showcase dependency gathering Gradle Plugin --- app/build.gradle | 5 +++++ build.gradle | 1 + 2 files changed, 6 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 3767f69b1..5685e4a35 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,6 +5,7 @@ plugins { id 'kotlin-kapt' id "de.timfreiheit.resourceplaceholders" //id "com.google.gms.google-services" + id 'io.shiftleft.gather-dependencies' } apply from: 'download.gradle' @@ -135,6 +136,10 @@ kapt { } } +gatherDependencies { + androidVariantName = 'appRelease' +} + dependencies { //noinspection GradleDependency coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.1.6') diff --git a/build.gradle b/build.gradle index 2419df1f8..6686f911e 100644 --- a/build.gradle +++ b/build.gradle @@ -19,6 +19,7 @@ plugins { id "de.timfreiheit.resourceplaceholders" version "0.4" apply false id "de.undercouch.download" version "5.1.0" apply false id "com.google.gms.google-services" version "4.3.10" apply false + id "io.shiftleft.gather-dependencies" version "0.5" apply false } task clean(type: Delete) {