Add native targets

This commit is contained in:
Alexander Nozik 2022-05-24 21:28:42 +03:00
parent 3d0b888c11
commit ba4d2abd27
No known key found for this signature in database
GPG Key ID: F7FCF2DD25C71357
3 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class KtorTcpPort internal constructor(
private val listenerJob = scope.launch {
val input = futureSocket.await().openReadChannel()
input.consumeEachBufferRange { buffer, last ->
input.consumeEachBufferRange { buffer, _ ->
val array = ByteArray(buffer.remaining())
buffer.get(array)
receive(array)

View File

@ -1,5 +1,6 @@
plugins {
id("ru.mipt.npm.gradle.mpp")
id("ru.mipt.npm.gradle.native")
`maven-publish`
}

View File

@ -1,5 +1,6 @@
plugins {
id("ru.mipt.npm.gradle.mpp")
id("ru.mipt.npm.gradle.native")
`maven-publish`
}