Add native targets
This commit is contained in:
parent
3d0b888c11
commit
ba4d2abd27
@ -37,7 +37,7 @@ public class KtorTcpPort internal constructor(
|
|||||||
|
|
||||||
private val listenerJob = scope.launch {
|
private val listenerJob = scope.launch {
|
||||||
val input = futureSocket.await().openReadChannel()
|
val input = futureSocket.await().openReadChannel()
|
||||||
input.consumeEachBufferRange { buffer, last ->
|
input.consumeEachBufferRange { buffer, _ ->
|
||||||
val array = ByteArray(buffer.remaining())
|
val array = ByteArray(buffer.remaining())
|
||||||
buffer.get(array)
|
buffer.get(array)
|
||||||
receive(array)
|
receive(array)
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("ru.mipt.npm.gradle.mpp")
|
id("ru.mipt.npm.gradle.mpp")
|
||||||
|
id("ru.mipt.npm.gradle.native")
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("ru.mipt.npm.gradle.mpp")
|
id("ru.mipt.npm.gradle.mpp")
|
||||||
|
id("ru.mipt.npm.gradle.native")
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user