Skip to content

Commit

Permalink
[KLIB] Restore removed function to keep ABI compatibility with kotlin…
Browse files Browse the repository at this point in the history
…x-benchmark

^KT-71414 Fixed
  • Loading branch information
ddolovov authored and qodana-bot committed Sep 12, 2024
1 parent 7e43572 commit 2a0ac60
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,21 @@ interface KotlinLibraryResolver<L : KotlinLibrary> {
duplicatedUniqueNameStrategy,
).resolveDependencies()

@Deprecated("Restored to keep ABI compatibility with kotlinx-benchmark Gradle plugin (KT-71414)", level = DeprecationLevel.HIDDEN)
fun resolveWithDependencies(
unresolvedLibraries: List<UnresolvedLibrary>,
noStdLib: Boolean = false,
noDefaultLibs: Boolean = false,
noEndorsedLibs: Boolean = false,
): KotlinLibraryResolveResult =
resolveWithDependencies(
unresolvedLibraries,
noStdLib,
noDefaultLibs,
noEndorsedLibs,
DuplicatedUniqueNameStrategy.DENY
)

fun resolveWithoutDependencies(
unresolvedLibraries: List<UnresolvedLibrary>,
noStdLib: Boolean = false,
Expand Down

0 comments on commit 2a0ac60

Please sign in to comment.