How to add a dependency to Maven
Add the following cn.vividcode.multiplatform : ktor-client-api-desktop maven dependency to the pom.xml
file with your favorite IDE (IntelliJ / Eclipse / Netbeans):
<dependency>
<groupId>cn.vividcode.multiplatform</groupId>
<artifactId>ktor-client-api-desktop</artifactId>
<version>2.3.10-1.0.0-Beta2</version>
</dependency>
How to add a dependency to Gradle
Gradle Groovy DSL: Add the following cn.vividcode.multiplatform : ktor-client-api-desktop gradle dependency to your build.gradle
file:
implementation 'cn.vividcode.multiplatform:ktor-client-api-desktop:2.3.10-1.0.0-Beta2'
Gradle Kotlin DSL: Add the following cn.vividcode.multiplatform : ktor-client-api-desktop gradle kotlin dependency to your build.gradle.kts
file:
implementation("cn.vividcode.multiplatform:ktor-client-api-desktop:2.3.10-1.0.0-Beta2")
How to add a dependency to SBT Scala
SBT Scala: Add the following cn.vividcode.multiplatform : ktor-client-api-desktop sbt scala dependency to your build.sbt
file:
libraryDependencies += "cn.vividcode.multiplatform" % "ktor-client-api-desktop" % "2.3.10-1.0.0-Beta2"