From 973d63bc2d4f5ac912e7c78f019c6689b3acbdc3 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Thu, 25 Jun 2020 14:22:28 +0200 Subject: Fixed requested changes --- plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt') diff --git a/plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt b/plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt index 40f7dfda..8dbe7b12 100644 --- a/plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt +++ b/plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt @@ -130,7 +130,7 @@ interface JvmSignatureUtils { } } - fun WithExtraProperties.stylesForDeprecated(sourceSetData: SourceSetData): Set = + fun WithExtraProperties.stylesIfDeprecated(sourceSetData: SourceSetData): Set = if (extra[Annotations]?.content?.get(sourceSetData)?.any { it.dri == DRI("kotlin", "Deprecated") || it.dri == DRI("java.lang", "Deprecated") -- cgit