In Android projects, it is no longer possible to use configuration.getResolvedConfiguration().getResolvedArtifacts().
This PR changes this behavior by using configuration.getIncoming().artifactView(view -> view.setLenient(true)).getArtifacts()) instead.
Fix https://github.com/jfrog/build-info/issues/695
In Android projects, it is no longer possible to use
configuration.getResolvedConfiguration().getResolvedArtifacts()
. This PR changes this behavior by usingconfiguration.getIncoming().artifactView(view -> view.setLenient(true)).getArtifacts())
instead.See https://github.com/gradle/gradle/issues/5953.