Reputation: 4325
I'm experimenting with deploying a Gradle app on Heroku. Here is the code: https://github.com/sarbogast/spark-groovy-hello-world/tree/master
When I run 'gradle stage' and the command in Procfile locally, it works. But when I push to Heroku, the app crashes and the log says it can't find the script:
bash: build/install/spark-groovy-hello-world/bin/spark-groovy-hello-world: No such file or directory
I'm still a beginner with Heroku, so I don't understand everything about how it works.
Upvotes: 2
Views: 225
Reputation: 4325
I figured it out: I was missing a settings.gradle file in the root of my project, with the following line in it: rootProject.name = "spark-groovy-hello-world"
Now the app doesn't work yet, because I have a port problem, but that's another issue.
Upvotes: 3