-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
231 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
*.sh text=auto eol=lf | ||
gordonmu-coio/src/test/resources/testfile.txt binary | ||
blachris-coio/src/test/resources/testfile.txt binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
dependencies { | ||
implementation project(":blachris-coio") | ||
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: "$kotlin_version" | ||
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: "$kotlinxcoroutine_version" | ||
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-jdk8', version: "$kotlinxcoroutine_version" | ||
implementation group: 'io.github.microutils', name: 'kotlin-logging', version: "$kotlinlogging_version" | ||
implementation group: 'org.slf4j', name: 'slf4j-api', version: "$slf4j_version" | ||
implementation group: 'io.netty', name: 'netty-buffer', version: '4.1.99.Final' | ||
implementation group: 'io.netty', name: 'netty-handler', version: '4.1.99.Final' | ||
implementation group: 'com.github.marianobarrios', name: 'tls-channel', version: '0.4.0' | ||
implementation group: 'io.netty', name: 'netty-tcnative-boringssl-static', version: "$tcnative_version" | ||
|
||
testImplementation group: 'org.assertj', name: 'assertj-core', version: "$assertj_version" | ||
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: "$junit5_version" | ||
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: "$junit5_version" | ||
testImplementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: "$log4jslf4j_version" | ||
testImplementation group: 'io.mockk', name: 'mockk', version: "$mockk_version" | ||
testImplementation group: 'org.awaitility', name: 'awaitility', version: "$awaitility_version" | ||
testImplementation group: 'org.awaitility', name: 'awaitility-kotlin', version: "$awaitility_version" | ||
} | ||
|
||
publishing { | ||
publications { | ||
mavenJava(MavenPublication) { | ||
from components.java | ||
artifact sourcesJar { | ||
archiveClassifier.set("sources") | ||
} | ||
artifact javadocJar { | ||
archiveClassifier.set("javadoc") | ||
} | ||
groupId project.group | ||
artifactId project.name | ||
version project.version | ||
pom(commonPom) | ||
pom { | ||
name = 'CoIO TLS Extension' | ||
description = 'A CoIO extension to use TLS over any CoIOStream.' | ||
url = 'https://github.com/blachris/coio' | ||
} | ||
} | ||
} | ||
repositories { | ||
maven { | ||
url "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2" | ||
credentials { | ||
if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) { | ||
username = ossrhUsername | ||
password = ossrhPassword | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
if (project.hasProperty('signing.keyId') && project.hasProperty('signing.password') && project.hasProperty('signing.secretKeyRingFile')) { | ||
signing { | ||
sign publishing.publications.mavenJava | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ub/gordonmu/coio/tls/TlsChannelAdapter.kt → ...ub/gordonmu/coio/tls/TlsChannelAdapter.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../com/github/gordonmu/coio/tls/TlsUtils.kt → .../com/github/gordonmu/coio/tls/TlsUtils.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
dependencies { | ||
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: "$kotlin_version" | ||
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: "$kotlinxcoroutine_version" | ||
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-jdk8', version: "$kotlinxcoroutine_version" | ||
implementation group: 'io.github.microutils', name: 'kotlin-logging', version: "$kotlinlogging_version" | ||
implementation group: 'org.slf4j', name: 'slf4j-api', version: "$slf4j_version" | ||
|
||
testImplementation group: 'org.assertj', name: 'assertj-core', version: "$assertj_version" | ||
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: "$junit5_version" | ||
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: "$junit5_version" | ||
testImplementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: "$log4jslf4j_version" | ||
testImplementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-test', version: "$kotlinxcoroutine_version" | ||
testImplementation group: 'io.mockk', name: 'mockk', version: "$mockk_version" | ||
testImplementation group: 'org.awaitility', name: 'awaitility', version: "$awaitility_version" | ||
testImplementation group: 'org.awaitility', name: 'awaitility-kotlin', version: "$awaitility_version" | ||
} | ||
|
||
publishing { | ||
publications { | ||
mavenJava(MavenPublication) { | ||
from components.java | ||
artifact sourcesJar { | ||
archiveClassifier.set("sources") | ||
} | ||
artifact javadocJar { | ||
archiveClassifier.set("javadoc") | ||
} | ||
groupId project.group | ||
artifactId project.name | ||
version project.version | ||
pom(commonPom) | ||
pom { | ||
name = 'Kotlin Coroutine IO Library' | ||
description = 'A library for a simple coroutine IO API, wrapping efficient non-blocking Java IO libs for easy use.' | ||
url = 'https://github.com/blachris/coio' | ||
} | ||
} | ||
} | ||
repositories { | ||
maven { | ||
url "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2" | ||
credentials { | ||
if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) { | ||
username = ossrhUsername | ||
password = ossrhPassword | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
if (project.hasProperty('signing.keyId') && project.hasProperty('signing.password') && project.hasProperty('signing.secretKeyRingFile')) { | ||
signing { | ||
sign publishing.publications.mavenJava | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/kotlin/com/github/gordonmu/coio/CoIO.kt → ...n/kotlin/com/github/gordonmu/coio/CoIO.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/com/github/gordonmu/coio/CoIOChannel.kt → ...n/com/github/gordonmu/coio/CoIOChannel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tlin/com/github/gordonmu/coio/CoIOFile.kt → ...tlin/com/github/gordonmu/coio/CoIOFile.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../github/gordonmu/coio/CoIOMemoryStream.kt → .../github/gordonmu/coio/CoIOMemoryStream.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../com/github/gordonmu/coio/CoIOSelector.kt → .../com/github/gordonmu/coio/CoIOSelector.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...otlin/com/github/gordonmu/coio/CoIOUdp.kt → ...otlin/com/github/gordonmu/coio/CoIOUdp.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../github/gordonmu/coio/CoIStreamAdapter.kt → .../github/gordonmu/coio/CoIStreamAdapter.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lin/com/github/gordonmu/coio/FileCache.kt → ...lin/com/github/gordonmu/coio/FileCache.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/com/github/gordonmu/coio/PathTreeMap.kt → ...n/com/github/gordonmu/coio/PathTreeMap.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.github.gordonmu.coio | ||
package com.github.blachris.coio | ||
|
||
import java.util.* | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nmu-coio/src/test/kotlin/NioTestServer.kt → ...ris-coio/src/test/kotlin/NioTestServer.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.