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 @@ -49,6 +49,7 @@ semver {
49
49
}
50
50
51
51
val gitCommit = semver.info.shortCommit
52
+ val dirty = semver.info.dirty
52
53
ext {
53
54
set(" gitCommit" , semver.info.shortCommit)
54
55
set(" gitBranch" , semver.info.branch.name)
@@ -68,7 +69,7 @@ subprojects {
68
69
}
69
70
70
71
tasks.withType<PublishToMavenRepository >().configureEach {
71
- onlyIf { ! semver.info. dirty }
72
+ onlyIf { ! dirty }
72
73
}
73
74
74
75
tasks.withType<JavaCompile >().configureEach {
Original file line number Diff line number Diff line change 16
16
17
17
apply plugin : ' signing'
18
18
19
- project. plugins. withType(MavenPublishPlugin ). all {
19
+ project. plugins. withType(MavenPublishPlugin ). configureEach {
20
20
def pubExt = project. extensions. getByType(PublishingExtension )
21
- pubExt. publications. withType(MavenPublication ). all { pub ->
21
+ pubExt. publications. withType(MavenPublication ). configureEach { pub ->
22
22
23
23
if (rootProject. hasProperty(' signingKey' )) {
24
24
def signingKey = findProperty(" signingKey" )
Original file line number Diff line number Diff line change @@ -48,8 +48,10 @@ import kotlin.io.encoding.ExperimentalEncodingApi
48
48
import kotlin.time.Duration.Companion.seconds
49
49
import kotlinx.coroutines.channels.Channel as Chan
50
50
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 () {
53
55
54
56
lateinit var localAddr: ZitiAddress .Bind
55
57
var channel: Channel ? = null
@@ -312,4 +314,8 @@ internal class ZitiServerSocketChannel(val ctx: ZitiContextImpl): AsynchronousSe
312
314
val REBIND_DELAY = 3 .seconds
313
315
val MAX_REBIND_INTERVAL = 5
314
316
}
317
+
318
+ private inner class Binder (val ch : Channel ) {
319
+
320
+ }
315
321
}
You can’t perform that action at this time.
0 commit comments