New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support downloading package list behind a proxy #3026
Comments
hey 👋 The package list is downloaded using dokka/plugins/base/src/main/kotlin/resolvers/shared/PackageList.kt Lines 26 to 34 in d680b14
Have you tried setting Alternatively you could use Gradle to download the package list file and pass it to Lines 58 to 70 in d680b14
The use of URL is related to #2993 |
Related issue: #2376 |
Another idea: Publish the package list as gradle artifact, or include it in the sources jar. |
Is your feature request related to a problem? Please describe
I want to use dokka behind a proxy and create links to other docs, like stdlib. Currently, I get the error message:
Failed to download package-list from ..., this might suggest that the remote resource is not available, ...
. This message is technically correct.Describe the solution you'd like
Best solution: Use native Gradle dependency resolution to fetch the package list file, because you already need to add the proxy settings to Gradle. This would also allow you to cache the files by default and fetch the files only once.
Describe alternatives you've considered
Keep the current code and add a proxy option. This option also downloads the file for each source set again without a cache.
Additional context
Are you willing to provide a PR?
With a start point, yes.
The text was updated successfully, but these errors were encountered: