A library providing reactive socket producer and consumer functionality.
Look at NettySocketLibraryTest.java for usage.
Some preconditions:
- Define GRADLE_USER_HOME as environment variable, e.g. GRADLE_USER_HOME=$HOME/DEV/gradle-user-home. (Location of local gradle repository)
- Provide repos.gradle in $HOME/DEV/gradle-user-home:
repositories {
maven {
url uri(System.getenv("GRADLE_USER_HOME"))
}
mavenLocal()
mavenCentral()
}
- Provide init.gradle in $HOME/DEV/gradle-user-home:
allprojects {
ext {
slf4jVersion = '1.8.0-beta2'
apacheCommonCliVersion = '1.4'
jaxbVersion = '2.3.0'
javaxActivationVersion = '1.1.1'
junitPlatformVersion = '1.2.0'
junitJupiterVersion = '5.2.0'
assertjVersion = '3.10.0'
awaitilityVersion = '3.1.2'
gradleUserHome = System.getenv("GRADLE_USER_HOME")
}
// Common repositories:
apply from: "${gradleUserHome}/repos.gradle", to: allprojects
}
- Provide publish.gradle in $HOME/DEV/gradle-user-home:
repositories {
maven {
// Set correct values for ip address, port and credentials
url "http://10.10.10.10:8081/nexus/content/repositories/snapshots/"
credentials {
username 'user'
password 'password'
}
}
}
}