From 407e47489658ec7a4bb33fc9c9beb1cd291d2b30 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Fri, 18 Aug 2023 15:15:39 +0200 Subject: [PATCH] Added back log for which SDK is being used --- app/build.gradle | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 3d42f947b..05c783511 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,6 +10,23 @@ plugins { def packageName = "org.linphone" +configurations { + customImplementation.extendsFrom implementation +} + +task linphoneSdkSource() { + doLast { + configurations.customImplementation.getIncoming().each { + it.getResolutionResult().allComponents.each { + if (it.id.getDisplayName().contains("linphone-sdk-android")) { + println 'Linphone SDK used is ' + it.moduleVersion.version + ' from ' + it.properties["repositoryName"] + } + } + } + } +} +project.tasks['preBuild'].dependsOn 'linphoneSdkSource' + android { namespace 'org.linphone' compileSdk 34