0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 13:38:32 +00:00
renovatebot_renovate/lib/modules/datasource/java-version
2023-11-07 15:50:29 +00:00
..
__fixtures__ fix(datasource): rename adoptium-java to java-version (#20245) 2023-02-13 07:54:20 +00:00
__snapshots__ fix(datasource): rename adoptium-java to java-version (#20245) 2023-02-13 07:54:20 +00:00
common.ts fix(datasource): rename adoptium-java to java-version (#20245) 2023-02-13 07:54:20 +00:00
index.spec.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
index.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
readme.md fix(datasource): rename adoptium-java to java-version (#20245) 2023-02-13 07:54:20 +00:00
types.ts fix(datasource): rename adoptium-java to java-version (#20245) 2023-02-13 07:54:20 +00:00

This datasource returns releases from the Adoptium API.

It uses image_type=<jre|jdk>&project=jdk&release_type=ga&sort_method=DATE&sort_order=DESC as filter parameters. This means that the datasource finds:

  • JRE or JDK images
  • with a JDK project
  • which have the General Availability status

And finally, the results are sorted in descending order.

When Renovate contacts the Adoptium API, it fetches 50 pages. Each page has 50 items. So 2500 items are fetched from the API in total.

If you want to get releases which come with the JDK, set the packageName to java-jdk or java.

If you want to get releases which come with the JRE, set the packageName to java-jre. LTS releases of Java will have a version that comes with the JRE. Non-LTS releases may not always include the JRE.