jfrog / artifactory-gradle-plugin

JFrog Gradle plugin for Build Info extraction and Artifactory publishing.
Apache License 2.0
21 stars 15 forks source link

Fail to resolve dependencies on a multi-module Android project #46

Closed yahavi closed 1 year ago

yahavi commented 1 year ago

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 using configuration.getIncoming().artifactView(view -> view.setLenient(true)).getArtifacts()) instead.

See https://github.com/gradle/gradle/issues/5953.

github-actions[bot] commented 1 year ago
[![](https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/noVulnerabilityBannerPR.png)](https://github.com/jfrog/frogbot#readme)
[JFrog Frogbot](https://github.com/jfrog/frogbot#readme)