[KLIB Resolver] Prettier KLIB resolver messages
- Make the messages that are reported by KLIB resolver prettier - For those messages that affect the resolve process add prefix "KLIB resolver: " - Don't log warning on duplicated libraries on the classpath. This does not make any sense. ^KT-63573
This commit is contained in:
committed by
Space Team
parent
3ab35cd417
commit
1c285de55e
@@ -3937,7 +3937,7 @@ standaloneTest("library_ir_provider_mismatch") {
|
||||
String exceptionText = t.message
|
||||
exceptionText = PlatformInfo.isWindows() ? exceptionText.replace("\\", "/") : exceptionText
|
||||
|
||||
String expectedText = "warning: skipping $outputDir/unsupported_ir_provider/empty.klib. The library requires unknown IR provider UNSUPPORTED."
|
||||
String expectedText = "warning: KLIB resolver: Skipping '$outputDir/unsupported_ir_provider/empty.klib'. The library requires unknown IR provider: UNSUPPORTED"
|
||||
expectedText = PlatformInfo.isWindows() ? expectedText.replace("\\", "/") : expectedText
|
||||
|
||||
if (t instanceof GradleException && exceptionText.contains(expectedText)) {
|
||||
|
||||
Reference in New Issue
Block a user