Skip to content

Commit

Permalink
prepare snapshot release
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed Jul 18, 2024
1 parent 13e9e26 commit 00d14d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {
signing
}

val versionName = "1.0.0"
val versionName = "1.0.0-SNAPSHOT"
val libName = "k2k"
val artifact = "dev.datlag.k2k"

Expand Down
6 changes: 3 additions & 3 deletions src/commonMain/kotlin/dev/datlag/k2k/connect/Connection.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package dev.datlag.k2k.connect
import kotlinx.coroutines.CoroutineScope
import dev.datlag.k2k.Dispatcher
import dev.datlag.k2k.Host
import dev.datlag.k2k.connect.ConnectionClient
import dev.datlag.k2k.connect.ConnectionServer
import kotlinx.coroutines.launch
import kotlin.properties.Delegates

Expand Down Expand Up @@ -60,4 +58,6 @@ class Connection private constructor(

fun build() = Connection(port, immediate, scope)
}
}
}

fun CoroutineScope.connection(builder: Connection.Builder.() -> Unit) = Connection.Builder(this).apply(builder).build()

0 comments on commit 00d14d6

Please sign in to comment.