Skip to content

Commit 483d343

Browse files
committed
Update okhttp3 in tests (and update Kotlin generally to do so)
1 parent e36f9ef commit 483d343

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ buildscript {
1010

1111
plugins {
1212
id 'java'
13-
id 'org.jetbrains.kotlin.jvm' version '1.4.10'
13+
id 'org.jetbrains.kotlin.jvm' version '1.6.21'
1414
id 'com.github.johnrengelman.shadow' version '6.1.0'
1515
}
1616

@@ -116,7 +116,7 @@ tasks.register('r8Jar', JavaExec) { task ->
116116
'--classfile',
117117
'--output', r8File.toString(),
118118
'--pg-conf', rules.toString()
119-
] + (configurations.compileOnly.filter { path ->
119+
] + (configurations.compileClasspath.filter { path ->
120120
// Include libs for a few runtime-only deps, so R8 can resolve them during optimization:
121121
path.getName().startsWith("jna-") ||
122122
path.getName().startsWith("jetty-util-") ||

test-app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies {
1717
implementation group: 'org.apache.httpcomponents.client5', name: 'httpclient5', version: '5.0.3'
1818
implementation group: 'org.apache.httpcomponents', name: 'httpasyncclient', version: '4.1.4'
1919

20-
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.9.1'
20+
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.10.0'
2121
implementation group: 'com.squareup.okhttp', name: 'okhttp', version: '2.7.5'
2222
implementation group: 'com.squareup.retrofit2', name: 'retrofit', version: '2.9.0'
2323

0 commit comments

Comments
 (0)