Note: We've forked this buildpack to help mitigate the risk of a supply chain attack where applications can become compromised via the compromised repo of a third-party buildpack. You should also consider forking this repo and linking to your own copy of it for the same reason.
Big thanks to Hirotaka Ikoma for making this available to everyone!
Remove files that are specified in a .slugcleanup file.
$ heroku buildpacks:add https://github.com/syginc/heroku-buildpack-cleanup.git $ cat .slugcleanup gradle* node_modules
Copy the snippet above into CLI.