diff --git a/compiler/util-klib-metadata/src/org/jetbrains/kotlin/library/metadata/resolver/KotlinLibraryResolver.kt b/compiler/util-klib-metadata/src/org/jetbrains/kotlin/library/metadata/resolver/KotlinLibraryResolver.kt index 2fe0e6518c17a..633a65f2e88dd 100644 --- a/compiler/util-klib-metadata/src/org/jetbrains/kotlin/library/metadata/resolver/KotlinLibraryResolver.kt +++ b/compiler/util-klib-metadata/src/org/jetbrains/kotlin/library/metadata/resolver/KotlinLibraryResolver.kt @@ -29,6 +29,21 @@ interface KotlinLibraryResolver { duplicatedUniqueNameStrategy, ).resolveDependencies() + @Deprecated("Restored to keep ABI compatibility with kotlinx-benchmark Gradle plugin (KT-71414)", level = DeprecationLevel.HIDDEN) + fun resolveWithDependencies( + unresolvedLibraries: List, + noStdLib: Boolean = false, + noDefaultLibs: Boolean = false, + noEndorsedLibs: Boolean = false, + ): KotlinLibraryResolveResult = + resolveWithDependencies( + unresolvedLibraries, + noStdLib, + noDefaultLibs, + noEndorsedLibs, + DuplicatedUniqueNameStrategy.DENY + ) + fun resolveWithoutDependencies( unresolvedLibraries: List, noStdLib: Boolean = false,