jmfayard / kotlin-cli-starter

Life is too short for Bash programming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with ktor-client

jmfayard opened this issue · comments

  • we depend on CliKt which is not available with the IR backend and ktor-client is only available with the IR backend

  • we need libcurl linked statically, this is currently not possible
    might change with msys2/MINGW-packages#8469
    depends on ktor

see: https://kotlinlang.slack.com/archives/C3SGXARS6/p1620282215299400?thread_ts=1620247483.298800&cid=C3SGXARS6

For this reason the code with ktor-client lives in a branch called ktor-client

https://github.com/jmfayard/kotlin-cli-starter/tree/ktor-client

static libcurl on windows works, with some ugly temporaty worksrounds, but still:
https://github.com/msink/hello-curl