How to run ktor project without IDE “run” button ?...
# ktor
k
How to run ktor project without IDE “run” button ??
▶️ 1
g
with gradle you can just use application plugin and
./gradlew run
b
if you are packaging up for an actual deployment, the most common way is to use the shadowjar plugin to build an executable jar on top of netty, then you can just run
java -jar myapp.jar
☝️ 1