mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Comment.
This commit is contained in:
parent
d8e893be9e
commit
b543db406c
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ class TaskContributor : ITaskContributor {
|
|||
/**
|
||||
* Register dynamic tasks corresponding to the variants found in the project,e.g. assembleDevDebug,
|
||||
* assembleDevRelease, etc...
|
||||
*
|
||||
* TODO: this should be done automatically so that users don't have to invoke it themselves.
|
||||
* Certain tasks could have a boolean flag "hasVariants" and any task that depends on it automatically
|
||||
* depends on variants of that task.
|
||||
*/
|
||||
fun addVariantTasks(plugin: IPlugin, project: Project, context: KobaltContext, taskName: String,
|
||||
runBefore : List<String> = emptyList(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue