You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(gradle): Rework conversion of repositories to ORT model
In 6c5ab2e, logic has been added to
the Gradle plugin to obtain the credentials for repositories
referenced by the build. According to [1], querying credentials in
this way assigns an empty set of credentials to a repository if no
authentication information is present. However, such an empty set
causes later problems when resolving dependencies.
To fix this, do the resolving of dependencies first, and only
afterward process the repositories and obtain their credentials.
[1]: https://docs.gradle.org/current/javadoc/org/gradle/api/artifacts/repositories/AuthenticationSupported.html#getCredentials()
Signed-off-by: Oliver Heger <[email protected]>
0 commit comments