【发布时间】:2020-12-09 17:03:10
【问题描述】:
是否有机会在 Raspberry Pi 上使用 ktor 客户端(多平台)或者该平台尚不支持?
kotlin {
linuxArm32Hfp("native") {
binaries {
executable {
entryPoint = "main"
baseName = "example"
}
}
compilations.main.cinterops {
linuxCanInterop {
...
}
}
}
}
dependencies {
// ??
implementation("io.ktor:ktor-client-curl:1.4.1")
nativeMainImplementation("io.ktor:ktor-client-curl:1.4.1")
}
【问题讨论】:
标签: raspberry-pi ktor