https://kotlinlang.org logo
#ktor
Title
# ktor
k

kevindmoore

12/23/2019, 5:13 AM
Anyone have any suggestions on the best hosting site for ktor? I'm working with Heroku now but really don't like it
Want something easy to use
f

fkrauthan

12/23/2019, 7:29 AM
What exactly is your challenge with Heroku? I haven't used it for ktor but I would assume it should be pretty simple and straightforward.
k

kevindmoore

12/23/2019, 5:28 PM
I'm trying to run the shadowjar task to create the fatjar but while the command works locally, it doesn't work on Heroku. Without that, it won't run
f

fkrauthan

12/23/2019, 7:15 PM
k

kevindmoore

12/23/2019, 8:13 PM
Yes, I've tried that. It seems that Heroku will run ./gradlew stage which seems to exceed memory usage
Finally got it: This is what I needed in my build file:
Copy code
task stage(dependsOn: ['assembleShadowDist'])
3 Views