File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 49
49
with :
50
50
name : java-build-reports-realtime
51
51
path : java/build/reports/
52
+ check-rest-okhttp :
53
+ runs-on : ubuntu-latest
54
+ steps :
55
+ - uses : actions/checkout@v3
56
+ with :
57
+ submodules : ' recursive'
58
+
59
+ - name : Set up the JDK
60
+ uses : actions/setup-java@v3
61
+ with :
62
+ java-version : ' 17'
63
+ distribution : ' temurin'
64
+
65
+ - run : ./gradlew :java:testRestSuite -Pokhttp
66
+
67
+ check-realtime-okhttp :
68
+ runs-on : ubuntu-latest
69
+ steps :
70
+ - uses : actions/checkout@v3
71
+ with :
72
+ submodules : ' recursive'
73
+
74
+ - name : Set up the JDK
75
+ uses : actions/setup-java@v3
76
+ with :
77
+ java-version : ' 17'
78
+ distribution : ' temurin'
79
+
80
+ - run : ./gradlew :java:testRealtimeSuite -Pokhttp
Original file line number Diff line number Diff line change @@ -20,7 +20,11 @@ dependencies {
20
20
api(libs.gson)
21
21
implementation(libs.bundles.common)
22
22
implementation(project(" :network-client-core" ))
23
- runtimeOnly(project(" :network-client-default" ))
23
+ if (findProperty(" okhttp" ) == null ) {
24
+ runtimeOnly(project(" :network-client-default" ))
25
+ } else {
26
+ runtimeOnly(project(" :network-client-okhttp" ))
27
+ }
24
28
testImplementation(libs.bundles.tests)
25
29
}
26
30
You can’t perform that action at this time.
0 commit comments