File tree Expand file tree Collapse file tree 8 files changed +46
-46
lines changed
rsocket-broker-client-spring/src/main
java/io/rsocket/broker/client/spring
resources/META-INF/spring Expand file tree Collapse file tree 8 files changed +46
-46
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,19 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v2
15
- - name : Set up JDK 1.8
16
- uses : actions/setup-java@v1
14
+ - uses : actions/checkout@v3
15
+ - name : Set up JDK 17
16
+ uses : actions/setup-java@v3
17
17
with :
18
- java-version : 1.8
18
+ java-version : 17
19
+ distribution : ' temurin'
19
20
- name : Cache Gradle packages
20
- uses : actions/cache@v1
21
+ uses : actions/cache@v3
21
22
with :
22
23
path : ~/.gradle/caches
23
24
key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
24
25
restore-keys : ${{ runner.os }}-gradle
25
26
- name : Grant execute permission for gradlew
26
27
run : chmod +x gradlew
27
28
- name : Build with Gradle
28
- run : ./gradlew build -Dbuild.number=$GITHUB_RUN_ID
29
+ run : ./gradlew build -Dbuild.number=$GITHUB_RUN_ID
Original file line number Diff line number Diff line change @@ -16,13 +16,14 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
18
18
steps :
19
- - uses : actions/checkout@v2
20
- - name : Set up JDK 1.8
21
- uses : actions/setup-java@v1
19
+ - uses : actions/checkout@v3
20
+ - name : Set up JDK 17
21
+ uses : actions/setup-java@v3
22
22
with :
23
- java-version : 1.8
23
+ java-version : 17
24
+ distribution : ' temurin'
24
25
- name : Cache Gradle packages
25
- uses : actions/cache@v1
26
+ uses : actions/cache@v3
26
27
with :
27
28
path : ~/.gradle/caches
28
29
key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
Original file line number Diff line number Diff line change @@ -15,13 +15,14 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
17
17
steps :
18
- - uses : actions/checkout@v2
19
- - name : Set up JDK 1.8
20
- uses : actions/setup-java@v1
18
+ - uses : actions/checkout@v3
19
+ - name : Set up JDK 17
20
+ uses : actions/setup-java@v3
21
21
with :
22
- java-version : 1.8
22
+ java-version : 17
23
+ distribution : ' temurin'
23
24
- name : Cache Gradle packages
24
- uses : actions/cache@v1
25
+ uses : actions/cache@v3
25
26
with :
26
27
path : ~/.gradle/caches
27
28
key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' com.jfrog.artifactory' version ' 4.21.0' apply false
3
- id ' io.spring.dependency-management' version ' 1.0.11.RELEASE'
3
+ id ' io.spring.dependency-management' version ' 1.1.0'
4
+ id ' java'
5
+ id ' maven-publish'
4
6
}
5
7
6
8
@@ -11,7 +13,7 @@ subprojects {
11
13
apply plugin : ' com.jfrog.artifactory'
12
14
apply plugin : ' signing'
13
15
14
- sourceCompatibility = ' 1.8 '
16
+ sourceCompatibility = ' 17 '
15
17
16
18
repositories {
17
19
mavenCentral()
@@ -37,26 +39,14 @@ subprojects {
37
39
}
38
40
}
39
41
40
- plugins. withType(JavaLibraryPlugin ) {
41
- task sourcesJar(type : Jar ) {
42
- classifier ' sources'
43
- from sourceSets. main. allJava
44
- }
45
-
46
- task javadocJar(type : Jar , dependsOn : javadoc) {
47
- classifier ' javadoc'
48
- from javadoc. destinationDir
49
- }
50
-
51
- plugins. withType(MavenPublishPlugin ) {
52
- publishing {
53
- publications {
54
- maven(MavenPublication ) {
55
- from components. java
56
- artifact sourcesJar
57
- artifact javadocJar
58
- }
59
- }
42
+ java {
43
+ withSourcesJar()
44
+ withJavadocJar()
45
+ }
46
+ publishing {
47
+ publications {
48
+ mavenJava(MavenPublication ) {
49
+ from components. java
60
50
}
61
51
}
62
52
}
Original file line number Diff line number Diff line change 1
1
group =io.rsocket.broker
2
- version =0.3.0-SNAPSHOT
3
-
4
- assertjVersion =3.21.0
5
- junitJupiterVersion =5.8.2
6
- reactorBomVersion =2020.0.13
7
- rsocketVersion =1.1.1
8
- springBootVersion =2.6.1
2
+ version =0.4.0-SNAPSHOT
9
3
4
+ assertjVersion =3.24.0
5
+ junitJupiterVersion =5.9.2
6
+ reactorBomVersion =2022.0.4
7
+ rsocketVersion =1.1.3
8
+ springBootVersion =3.1.5
10
9
11
10
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.3 -all.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.4 -all.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 34
34
import org .springframework .core .ParameterizedTypeReference ;
35
35
import org .springframework .lang .Nullable ;
36
36
import org .springframework .messaging .rsocket .RSocketRequester ;
37
+ import org .springframework .messaging .rsocket .RSocketStrategies ;
37
38
import org .springframework .util .Assert ;
38
39
import org .springframework .util .MimeType ;
39
40
import org .springframework .util .ObjectUtils ;
@@ -72,6 +73,11 @@ public MimeType dataMimeType() {
72
73
return delegate .dataMimeType ();
73
74
}
74
75
76
+ @ Override
77
+ public RSocketStrategies strategies (){
78
+ return delegate .strategies ();
79
+ }
80
+
75
81
@ Override
76
82
public MimeType metadataMimeType () {
77
83
return delegate .metadataMimeType ();
Original file line number Diff line number Diff line change
1
+ io.rsocket.broker.client.spring.BrokerClientRSocketStrategiesAutoConfiguration
2
+ io.rsocket.broker.client.spring.BrokerClientAutoConfiguration
You can’t perform that action at this time.
0 commit comments