Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Customizable Java version #788

@kennyjwilli

Description

@kennyjwilli

Is your feature request related to a problem? Please describe.

Some build tools require a particular version of Java (e.g., Google Closure Compiler). The current version of the build-image requires Java 8 and does not appear customizable. The Google Closure Compiler, for example, requires Java 11, and is therefore incompatible with Netlify (builds will fail due to the mismatched version).

Describe the solution you'd like

Add the ability to specify the Java version required in a manner similar to how it does so for other tools described here.

Describe alternatives you've considered

  1. Install Java every time the CI runs. This is a time consuming operation that would greatly increase our total build times.
  2. As suggested by a Netlify support engineer, we could include the Java version we want to use in our actual code repository, shelling out to that executable instead. This may work (?), but would bloat our repository size until the end of time.

Additional context

Can you submit a pull request?

Not at this time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featurecode contributing to the implementation of a feature and/or user facing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions