[Gradle] Remove redundant suppression in KotlinJsProjectExtension

This commit is contained in:
Alexander.Likhachev
2023-12-12 21:25:22 +01:00
committed by Space Team
parent 96717c644d
commit 1772620d16
@@ -305,7 +305,6 @@ abstract class KotlinJsProjectExtension(project: Project) :
"Needed for IDE import using the MPP import mechanism", "Needed for IDE import using the MPP import mechanism",
level = DeprecationLevel.HIDDEN level = DeprecationLevel.HIDDEN
) )
@Suppress("DEPRECATION")
fun getTargets(): NamedDomainObjectContainer<KotlinTarget>? = fun getTargets(): NamedDomainObjectContainer<KotlinTarget>? =
targetFuture.lenient.getOrNull()?.let { target -> targetFuture.lenient.getOrNull()?.let { target ->
target.project.container(KotlinTarget::class.java) target.project.container(KotlinTarget::class.java)