Has anyone had success deploying to Heroku? I got ...
# ktor
d
Has anyone had success deploying to Heroku? I got it working by involving shadowJar gradle plugin, would like to know if I could get it to work without this workaround
j
Apply application plugin, change your task to installDist or just make assemble depend on installDist, and run build/install/yourapp/bin/yourapp in the Procfile
🙌 1
1
d
works great, thanks build.gradle.kts:
Copy code
tasks.named("assemble") {
    dependsOn("installDist")
}
Procfile:
Copy code
web: bash build/install/<project_name>/bin/<project_name>
👍 3