Skip to content

Commit 36519ab

Browse files
Merge pull request #1733 from nextcloud/renovate/okhttp-monorepo
fix(deps): update dependency com.squareup.okhttp3:okhttp to v5.1.0
2 parents 19c64d6 + 882cce8 commit 36519ab

3 files changed

Lines changed: 36 additions & 4 deletions

File tree

gradle/verification-metadata.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
</trusted-artifacts>
1313
<ignored-keys>
1414
<ignored-key id="2C7F998F4272C851" reason="Key couldn't be downloaded from any key server"/>
15+
<ignored-key id="793FD5751A0F0780" reason="Key couldn't be downloaded from any key server"/>
1516
</ignored-keys>
1617
<trusted-keys>
1718
<trusted-key id="015479E1055341431B4545AB72475FD306B9CAB7" group="com.googlecode.javaewah" name="JavaEWAH" version="1.2.3"/>
@@ -179,6 +180,7 @@
179180
<trusted-key id="A5F483CD733A4EBAEA378B2AE88979FB9B30ACF2">
180181
<trusting group="androidx.annotation"/>
181182
<trusting group="androidx.databinding"/>
183+
<trusting group="androidx.startup" name="startup-runtime" version="1.2.0"/>
182184
<trusting group="^androidx[.]test($|([.].*))" regex="true"/>
183185
<trusting group="^com[.]android($|([.].*))" regex="true"/>
184186
</trusted-key>
@@ -8676,6 +8678,30 @@
86768678
<sha256 value="8ccd00dfba35a87ce43dccd2d612d163d89a9df568b655bca492ab20897be642" origin="Generated by Gradle"/>
86778679
</artifact>
86788680
</component>
8681+
<component group="com.squareup.okhttp3" name="okhttp" version="5.1.0">
8682+
<artifact name="okhttp-5.1.0.module">
8683+
<sha256 value="f4b83e13b46bf10f5c71c0cbf36339e17e2db576700da34495fba55f4eb7836e" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
8684+
</artifact>
8685+
<artifact name="okhttp-metadata-5.1.0.jar">
8686+
<sha256 value="e720a383fdc3eb1df4aac77a085e61b7730837364151de867093fdbcafcb44aa" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
8687+
</artifact>
8688+
</component>
8689+
<component group="com.squareup.okhttp3" name="okhttp-android" version="5.1.0">
8690+
<artifact name="okhttp-android-5.1.0.module">
8691+
<sha256 value="efd455ff92cc8880daa2adabc4a48db05a6aae40e84266c2185a4dcedfdb53e3" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
8692+
</artifact>
8693+
<artifact name="okhttp-release.aar">
8694+
<sha256 value="acb328a30b8609b34d9bcaf9a147d72e2279b55f6b22540aa45e0f1441e1fff3" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
8695+
</artifact>
8696+
</component>
8697+
<component group="com.squareup.okio" name="okio" version="3.15.0">
8698+
<artifact name="okio-3.15.0.module">
8699+
<sha256 value="116826066ceb4d3336a74e7172a33751617ec344bc50a34f99b0d24959a4a39d" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
8700+
</artifact>
8701+
<artifact name="okio-metadata-3.15.0.jar">
8702+
<sha256 value="0ed4125e048c86af7ece446d654f2ba8bcc5e74d0ae1f4de3c5dc0ad9a975e2d" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
8703+
</artifact>
8704+
</component>
86798705
<component group="com.squareup.okio" name="okio" version="3.6.0">
86808706
<artifact name="okio-3.6.0.module">
86818707
<sha256 value="6a47ac50364e6598459401fb86f9b6cfcdf637b9b3a3045b1cc33cbf4c408218" origin="Generated by Gradle"/>
@@ -8689,6 +8715,14 @@
86898715
<sha256 value="e518a59856273a1fce18ac7d13ddfc690defa6122d7e5cd00cae19b62d0347d9" origin="Generated by Gradle"/>
86908716
</artifact>
86918717
</component>
8718+
<component group="com.squareup.okio" name="okio-jvm" version="3.15.0">
8719+
<artifact name="okio-jvm-3.15.0.jar">
8720+
<sha256 value="483dc383b1049d220892322a0d6a4308425f09bb05b48c43d4eaa9ff82b1cd16" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
8721+
</artifact>
8722+
<artifact name="okio-jvm-3.15.0.module">
8723+
<sha256 value="989454a94aefbc297032888f135acda14a9ffb46960e7d84603925d269241ee7" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
8724+
</artifact>
8725+
</component>
86928726
<component group="com.squareup.okio" name="okio-jvm" version="3.6.0">
86938727
<artifact name="okio-jvm-3.6.0.jar">
86948728
<sha256 value="67543f0736fc422ae927ed0e504b98bc5e269fda0d3500579337cb713da28412" origin="Generated by Gradle"/>

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ configurations {
6060

6161
dependencies {
6262
implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.5'
63-
api 'com.squareup.okhttp3:okhttp:5.0.0-alpha.14'
63+
api 'com.squareup.okhttp3:okhttp:5.1.0'
6464
implementation 'com.github.bitfireAT:dav4jvm:2.2.1'
6565
// in transition phase, we use old and new libs
6666
implementation group: 'com.google.code.gson', name: 'gson', version: '2.13.1'

library/src/main/java/com/owncloud/android/lib/resources/tags/PutTagRemoteOperation.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ import com.nextcloud.operations.PutMethod
1212
import com.owncloud.android.lib.common.operations.RemoteOperation
1313
import com.owncloud.android.lib.common.operations.RemoteOperationResult
1414
import okhttp3.RequestBody
15-
import okhttp3.RequestBody.Companion.toRequestBody
16-
import okhttp3.internal.EMPTY_BYTE_ARRAY
1715
import org.apache.commons.httpclient.HttpStatus
1816

1917
class PutTagRemoteOperation(
2018
val id: String,
2119
val fileId: Long
2220
) : RemoteOperation<Void>() {
2321
override fun run(client: NextcloudClient): RemoteOperationResult<Void> {
24-
val empty: RequestBody = EMPTY_BYTE_ARRAY.toRequestBody()
22+
val empty: RequestBody = RequestBody.EMPTY
2523
val putMethod =
2624
PutMethod(
2725
client.baseUri.toString() + TAG_URL + fileId + "/" + id,

0 commit comments

Comments
 (0)