snowdrop / java-buildpack-client

A simple buildpack (https://buildpacks.io/) platform implementation as a library for java..
Apache License 2.0
14 stars 7 forks source link

Support Platform API : 0.10 #58

Closed cmoulliard closed 9 months ago

cmoulliard commented 9 months ago

Issue

The current project cannot work with the new UBI Builder image (quay.io/snowdrop/ubi-builder) as it has been developed to support the Platform API - spec 0.4

        if(!environment.containsKey("CNB_PLATFORM_API")) environment.put("CNB_PLATFORM_API", "0.4");

which is incompatible with recent releases of lifecycle

See: https://github.com/snowdrop/java-buildpack-client/actions/runs/7143725404/job/19455839296#step:7:18

ERROR: failed to set platform API: platform API version '0.4' is incompatible with the lifecycle
BarDweller commented 9 months ago

Duplicate of https://github.com/snowdrop/java-buildpack-client/issues/38