Replies: 3 comments 4 replies
-
This parameter is needed to download source dependencies, which are used for go to definition in dependencies, so it's best to leave this parameter on. You can just run What kind of dependencies are getting |
Beta Was this translation helpful? Give feedback.
-
Sorry, the error is HTTP 401(unauthorized), not 403. This is a problem with source dependencies resolution: if some fail(for any reason) then the build import should not fail. But if fails since sbt updateClassifiers fails in this case. |
Beta Was this translation helpful? Give feedback.
-
No, normal jar is downloaded OK (not requires auth) - try it yourself(use the link above without "-sources" in jar name), only source jars need auth. So jars are downloaded OK and -Dbloop.export-jar-classifiers=sources is not set. |
Beta Was this translation helpful? Give feedback.
-
This fixed sbt parameter value causes bloopInstall fail in case of any of the dependencies sources download fails with error, for example if some of the sources URLs return HTTP ERROR 403. If I manually run just:
sbt bloopGenerate
my .bloop project json is generated successfully and I can use metals for the project. But...the sources of dependencies(even the downloaded ones) are not accessible from vscode/metals.
Beta Was this translation helpful? Give feedback.
All reactions