cosmetics
This commit is contained in:
parent
40f4352a31
commit
bc46e11158
@ -11,15 +11,15 @@
|
|||||||
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
|
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("multiplatform") version "2.1.0"
|
kotlin("multiplatform") version "2.1.21"
|
||||||
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.0"
|
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.21"
|
||||||
id("com.android.library") version "8.5.2" apply true
|
id("com.android.library") version "8.5.2" apply true
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
id("org.jetbrains.dokka") version "1.9.20"
|
id("org.jetbrains.dokka") version "1.9.20"
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "net.sergeych"
|
group = "net.sergeych"
|
||||||
version = "0.6.9-SNAPSHOT"
|
version = "0.6.10-SNAPSHOT"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
@ -37,15 +37,17 @@ kotlin {
|
|||||||
}
|
}
|
||||||
nodejs()
|
nodejs()
|
||||||
}
|
}
|
||||||
|
linuxX64()
|
||||||
|
linuxArm64()
|
||||||
|
|
||||||
macosArm64()
|
macosArm64()
|
||||||
|
macosX64()
|
||||||
iosX64()
|
iosX64()
|
||||||
iosArm64()
|
iosArm64()
|
||||||
iosSimulatorArm64()
|
iosSimulatorArm64()
|
||||||
linuxX64()
|
|
||||||
linuxArm64()
|
|
||||||
macosX64()
|
|
||||||
macosX64()
|
|
||||||
mingwX64()
|
mingwX64()
|
||||||
|
|
||||||
androidTarget()
|
androidTarget()
|
||||||
@OptIn(ExperimentalWasmDsl::class)
|
@OptIn(ExperimentalWasmDsl::class)
|
||||||
wasmJs {
|
wasmJs {
|
||||||
@ -143,6 +145,7 @@ kotlin {
|
|||||||
dependsOn(ktorSocketTest)
|
dependsOn(ktorSocketTest)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
val mavenToken by lazy {
|
val mavenToken by lazy {
|
||||||
@ -161,7 +164,7 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
tasks.dokkaHtml.configure {
|
tasks.dokkaHtml.configure {
|
||||||
outputDirectory.set(buildDir.resolve("dokka"))
|
outputDirectory.set(buildDir.resolve("dokka"))
|
||||||
|
@ -12,3 +12,4 @@ kotlin.code.style=official
|
|||||||
kotlin.mpp.applyDefaultHierarchyTemplate=false
|
kotlin.mpp.applyDefaultHierarchyTemplate=false
|
||||||
|
|
||||||
kotlin.daemon.jvmargs=-Xmx2048m
|
kotlin.daemon.jvmargs=-Xmx2048m
|
||||||
|
kotlin.native.ignoreDisabledTargets=true
|
@ -52,7 +52,13 @@ fun acceptTcpDevice(port: Int, localInterface: String = "0.0.0.0"): Flow<InetTra
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
suspend fun connectTcpDevice(address: String) = connectTcpDevice(address.toNetworkAddress())
|
|
||||||
|
/**
|
||||||
|
* Connect to the TCP/IP server (see [KiloServer]) at the specified address and provide th compatible
|
||||||
|
* [InetTransportDevice] to use with [KiloClient]. [hostPortAddress] is a string in the form of `host:port`.
|
||||||
|
*/
|
||||||
|
suspend fun connectTcpDevice(hostPortAddress: String): InetTransportDevice =
|
||||||
|
connectTcpDevice(hostPortAddress.toNetworkAddress())
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connect to the TCP/IP server (see [KiloServer]) at the specified address and provide th compatible
|
* Connect to the TCP/IP server (see [KiloServer]) at the specified address and provide th compatible
|
||||||
|
Loading…
x
Reference in New Issue
Block a user