Multi buildpack support for Spring Cloud Gateway can be helpful to add features to the tile, such as the DataDog Cloud Foundry buildpack that would provide the datadog agent in the Spring Cloud Gateway backing apps.
Unfortunately, that feature is not available yet and only one buildpack can be specified in configuration, although R&D is working on a fix to include multiple buildpacks in
In the meanwhile, the workaround would be adding a buildpack with "cf curl" to the backing app as follows.
cf curl /v3/apps/<APP-GUID> -X PATCH \ -H "Content-type: application/json" \ -d '{ "name": "<APP-NAME>", "lifecycle": { "type": "buildpack", "data": { "buildpacks": ["datadog-cloudfoundry-buildpack","java_buildpack"] } } }'
Where <APP-GUID> can be obtained with "cf app <APP-NAME> --guid"
Then restage the app so it's deployed with both buildpacks.