File tree 3 files changed +13
-12
lines changed
3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,15 @@ It enables following symmetric interaction models:
23
23
24
24
``` groovy
25
25
dependencies {
26
- compile 'io.rsocket.kotlin:rsocket-core:0.9.6 '
26
+ compile 'io.rsocket.kotlin:rsocket-core:0.9.7 '
27
27
}
28
28
```
29
29
### Transports
30
- ` Netty ` based Websockets and TCP transport ( ` Client ` and ` Server ` )
30
+
31
31
` OkHttp ` based Websockets transport (` Client ` only)
32
32
``` groovy
33
33
dependencies {
34
- compile 'io.rsocket.kotlin:rsocket-transport-netty:0.9.6'
35
- compile 'io.rsocket.kotlin:rsocket-transport-okhttp:0.9.6'
34
+ compile 'io.rsocket.kotlin:rsocket-transport-okhttp:0.9.7'
36
35
}
37
36
```
38
37
### Usage
Original file line number Diff line number Diff line change @@ -88,21 +88,26 @@ buildScan {
88
88
}
89
89
90
90
def versionSuffix () {
91
- def versionSuffix = ' '
91
+ def versionSuffix
92
92
def branchName = project. findProperty(' branch' );
93
93
if (branchName == null ) {
94
94
def details = versionDetails()
95
95
if (details != null ) {
96
96
branchName = details. branchName
97
97
}
98
98
}
99
-
99
+ /* branch */
100
100
if (branchName != null ) {
101
101
if (branchName == ' master' ) {
102
+ versionSuffix = ' '
103
+ } else if (branchName == ' develop' ) {
102
104
versionSuffix = ' -SNAPSHOT'
103
105
} else {
104
106
versionSuffix = " -${ branchName.replace("/", "-")} -SNAPSHOT"
105
107
}
108
+ /* tag*/
109
+ } else {
110
+ versionSuffix = ' '
106
111
}
107
112
return versionSuffix
108
113
}
Original file line number Diff line number Diff line change @@ -5,12 +5,9 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
5
5
echo -e " Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH ]"
6
6
./gradlew -Pbranch=" ${TRAVIS_BRANCH} " build
7
7
elif [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_TAG " == " " ]; then
8
- echo -e ' Build Branch with Snapshot => Branch [' $TRAVIS_BRANCH ' ]'
8
+ echo -e ' Build Branch => Branch [' $TRAVIS_BRANCH ' ]'
9
9
./gradlew -PbintrayUser=" ${bintrayUser} " -PbintrayKey=" ${bintrayKey} " -Pbranch=" ${TRAVIS_BRANCH} " build artifactoryPublish --stacktrace
10
- elif [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_TAG " != " " ]; then
11
- echo -e ' Build Branch for Release => Branch [' $TRAVIS_BRANCH ' ] Tag [' $TRAVIS_TAG ' ]'
12
- ./gradlew -PbintrayUser=" ${bintrayUser} " -PbintrayKey=" ${bintrayKey} " build bintrayUpload --stacktrace
13
10
else
14
- echo -e ' WARN: Should not be here => Branch [ ' $TRAVIS_BRANCH ' ] Tag [' $TRAVIS_TAG ' ] Pull Request [ ' $TRAVIS_PULL_REQUEST ' ]'
15
- ./gradlew -Pbranch= " ${TRAVIS_BRANCH} " build
11
+ echo -e ' Build Tag => Tag [' $TRAVIS_TAG ' ]'
12
+ ./gradlew build
16
13
fi
You can’t perform that action at this time.
0 commit comments