Added back log for which SDK is being used

This commit is contained in:
Sylvain Berfini 2023-08-18 15:15:39 +02:00
parent c2a74df26d
commit 407e474896

View file

@ -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