[Gradle][MPP] Refine naming for KotlinTargetHierarchyBuilder
^KT-53570 Verification Pending
This commit is contained in:
committed by
Space Team
parent
1a519a8159
commit
c332c928fc
+3
-4
@@ -12,11 +12,10 @@ interface KotlinTargetHierarchyBuilder {
|
||||
fun group(name: String, build: KotlinTargetHierarchyBuilder.() -> Unit = {})
|
||||
|
||||
/* low-level APIs */
|
||||
fun includeCompilationIf(predicate: (KotlinCompilation<*>) -> Boolean)
|
||||
fun excludeCompilationIf(predicate: (KotlinCompilation<*>) -> Boolean)
|
||||
|
||||
fun addCompilations(predicate: (KotlinCompilation<*>) -> Boolean)
|
||||
fun removeCompilations(predicate: (KotlinCompilation<*>) -> Boolean)
|
||||
fun filterCompilations(predicate: (KotlinCompilation<*>) -> Boolean) =
|
||||
excludeCompilationIf { !predicate(it) }
|
||||
removeCompilations { !predicate(it) }
|
||||
|
||||
/* Convenient groups */
|
||||
fun anyNative()
|
||||
|
||||
Reference in New Issue
Block a user