How to deploy on Heroku a Gradle Spring Boot app, with dependency on a local Library project?
问题 Let's say I have a Gradle Multi project with 2 subprojects, :profile and :commons . :commons is a Library project, and :profile is a Spring Boot app, with details below: # profile/build.gradle ... dependencies { implementation project(':commons') ... } ... And # profile/settings.gradle rootProject.name = 'profile' include ":commons" project(':commons').projectDir = new File('../commons') Obviously, when I push to Heroku I have the error below: FAILURE: Build failed with an exception. remote: