buildpacks/samples

[java] add JDK version option

jkutner opened this issue · 1 comments

Add a mechanism to select the JDK version and distribution.

Heroku uses a system.properties file with contents like:

java.runtime.version=1.8.0_172

For more info see Heroku docs.

/cc @cmoulliard

We're always looking for contributions. :)

A good reference point would be our Ruby tutorial: https://buildpacks.io/docs/create-buildpack/make-buildpack-configurable/