Why there is no in-gradle configuration to direct autoprovision to use just particular direct link for download?
I mean why there is no possibility to specify in gradle build directly from where it should be downloaded or any kind of JSON (mapping) to direct gradle to use particular download link. That could be e.g. useful in case that you are not connected to internet or you do not want to implement proprietary thirty party API.
Hi.
Why there is no in-gradle configuration to direct autoprovision to use just particular direct link for download?
Simply because we haven’t implemented that it. Just a direct to some download might actually not be feasible as we don’t know in which format the JDK is packaged, what the layout is (depending on vendor and os, there is differences in the package layout). It is something we consider doing in the future but nothing planned yet.
Another thing we consider is to support plugins to provide more downloaders, not just the bundled AdoptOpenJDK one. If this is something interesting for you, please feel free to open an issue on GitHub about this.