Skip to content

Commit 7617a9c

Browse files
committed
Force OkHttp-Coroutines to 5.0.0-alpha.14 to fix artifactSizeMetrics issue
1 parent 69a5de1 commit 7617a9c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ buildscript {
1414
// Add our custom gradle build logic to buildscript classpath
1515
classpath(libs.aws.kotlin.repo.tools.build.support)
1616
}
17+
18+
configurations.classpath {
19+
resolutionStrategy {
20+
/*
21+
Version bumping the SDK to 1.5.x in repo tools broke our buildscript classpath:
22+
java.lang.NoSuchMethodError: 'void kotlinx.coroutines.CancellableContinuation.resume(java.lang.Object, kotlin.jvm.functions.Function3)
23+
24+
FIXME: Figure out what broke our buildscipt classpath, this is a temporary fix
25+
*/
26+
force("com.squareup.okhttp3:okhttp-coroutines:5.0.0-alpha.14")
27+
}
28+
}
1729
}
1830

1931
plugins {

0 commit comments

Comments
 (0)