[Gradle] KotlinTargetHierarchyBuilder: Deprecate filterCompilations
KT-34662
This commit is contained in:
committed by
Space Team
parent
95ae7ab8bc
commit
0f657b8a74
+2
-2
@@ -15,8 +15,8 @@ interface KotlinTargetHierarchyBuilder {
|
||||
/* low-level APIs */
|
||||
fun withCompilations(predicate: (KotlinCompilation<*>) -> Boolean)
|
||||
fun withoutCompilations(predicate: (KotlinCompilation<*>) -> Boolean)
|
||||
fun filterCompilations(predicate: (KotlinCompilation<*>) -> Boolean) =
|
||||
withoutCompilations { !predicate(it) }
|
||||
@Deprecated("Use plain 'withoutCompilations(!predicate) instead'", ReplaceWith("withoutCompilations { !predicate(it) }"))
|
||||
fun filterCompilations(predicate: (KotlinCompilation<*>) -> Boolean) = withoutCompilations { !predicate(it) }
|
||||
|
||||
/* Convenient groups */
|
||||
fun withNative()
|
||||
|
||||
Reference in New Issue
Block a user