We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b8392e commit b38282fCopy full SHA for b38282f
src/main/kotlin/myaa/subkt/tasks/plugin.kt
@@ -410,6 +410,15 @@ open class Subs(val project: Project) : ItemGroupContext() {
410
fun tasks(entries: Iterable<String>, action: ItemGroupContext.() -> Unit) =
411
InnerContext(entries).action()
412
413
+ /**
414
+ * Creates a context for generating tasks for the specified entries.
415
+ *
416
+ * @param entries Entries to generate tasks for.
417
+ * @param action A closure operating on a [ItemGroupContext] entry.
418
+ */
419
+ fun tasks(vararg entries: String, action: ItemGroupContext.() -> Unit) =
420
+ InnerContext(entries.toList()).action()
421
+
422
/**
423
* Creates a context for generating tasks for the specified entries.
424
*
0 commit comments