Heroku's upcoming Fir platform won't support "classic" buildpacks but there should be a way to support both within the same repository https://devcenter.heroku.com/articles/creating-cloud-native-buildpacks-from-classic-buildpacks