Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
647 stars 142 forks source link

Fixes a bug where an exception is not caught in java 9 #128

Closed dvallin closed 6 years ago

dvallin commented 6 years ago

If targetCompatibility is set to a value not supported by the JavaBaseImage class (eg. 1.1) an exception is thrown but never handled. Thus the build aborts.

Also added support for openjdk-9 base images as default images (which would also fix the behavior for java 9, but not the root cause)