File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
ziti/src/main/kotlin/org/openziti/net Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ semver {
5050}
5151
5252val gitCommit = semver.info.shortCommit
53+ val dirty = semver.info.dirty
5354ext {
5455 set(" gitCommit" , semver.info.shortCommit)
5556 set(" gitBranch" , semver.info.branch.name)
@@ -69,7 +70,7 @@ subprojects {
6970 }
7071
7172 tasks.withType<PublishToMavenRepository >().configureEach {
72- onlyIf { ! semver.info. dirty }
73+ onlyIf { ! dirty }
7374 }
7475
7576 tasks.withType<JavaCompile >().configureEach {
Original file line number Diff line number Diff line change 1616
1717apply plugin : ' signing'
1818
19- project. plugins. withType(MavenPublishPlugin ). all {
19+ project. plugins. withType(MavenPublishPlugin ). configureEach {
2020 def pubExt = project. extensions. getByType(PublishingExtension )
21- pubExt. publications. withType(MavenPublication ). all { pub ->
21+ pubExt. publications. withType(MavenPublication ). configureEach { pub ->
2222
2323 if (rootProject. hasProperty(' signingKey' )) {
2424 def signingKey = findProperty(" signingKey" )
Original file line number Diff line number Diff line change @@ -48,8 +48,10 @@ import kotlin.io.encoding.ExperimentalEncodingApi
4848import kotlin.time.Duration.Companion.seconds
4949import kotlinx.coroutines.channels.Channel as Chan
5050
51- internal class ZitiServerSocketChannel (val ctx : ZitiContextImpl ): AsynchronousServerSocketChannel(null ),
52- Channel .MessageReceiver , Logged by ZitiLog () {
51+ internal class ZitiServerSocketChannel (val ctx : ZitiContextImpl ):
52+ AsynchronousServerSocketChannel (null ),
53+ Channel .MessageReceiver ,
54+ Logged by ZitiLog () {
5355
5456 lateinit var localAddr: ZitiAddress .Bind
5557 var channel: Channel ? = null
@@ -312,4 +314,8 @@ internal class ZitiServerSocketChannel(val ctx: ZitiContextImpl): AsynchronousSe
312314 val REBIND_DELAY = 3 .seconds
313315 val MAX_REBIND_INTERVAL = 5
314316 }
317+
318+ private inner class Binder (val ch : Channel ) {
319+
320+ }
315321}
You can’t perform that action at this time.
0 commit comments