Closed cimnine closed 1 month ago
I have added ADOPTIUM_API provider, it can be used for both scenarios
<configuration>
<provider>ADOPTIUM_API</provider>
<providerConfig>
<arch>x64</arch>
<featureVersion>17</featureVersion>
<heapSize>normal</heapSize>
<imageType>jdk</imageType>
<jvmImpl>hotspot</jvmImpl>
<releaseType>ga</releaseType>
<vendor>eclipse</vendor>
</providerConfig>
</configuration>
<configuration>
<provider>ADOPTIUM_API</provider>
<providerConfig>
<arch>x64</arch>
<releaseName>jdk-21.0.4+7</releaseName>
<heapSize>normal</heapSize>
<imageType>jdk</imageType>
<jvmImpl>hotspot</jvmImpl>
<vendor>eclipse</vendor>
<project>jdk</project>
</providerConfig>
</configuration>
improved in 1.2.4
Thank you, works perfect for my case.
The official Adoptium API can redirect to the respective binary hosted no GitHub, given the Adoptium git tag or major Java version. This would speed up the build, as the release pages don't need to be scrolled, especially in the case that the given version is invalid. It also eliminates GitHub API rate limits for the Adoptium provider.
See https://api.adoptium.net/q/swagger-ui/ for the API spec.
Examples: