mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Fix shadowing
This commit is contained in:
parent
ea7c4abcc9
commit
31994102ae
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ abstract public class BasePlugin : IPlugin {
|
||||||
runAfter : List<String> = emptyList(),
|
runAfter : List<String> = emptyList(),
|
||||||
runTask: (Project) -> TaskResult) {
|
runTask: (Project) -> TaskResult) {
|
||||||
Variant.allVariants(project).forEach { variant ->
|
Variant.allVariants(project).forEach { variant ->
|
||||||
val taskName = variant.toTask(taskName)
|
val variantTaskName = variant.toTask(taskName)
|
||||||
addTask(project, taskName, taskName,
|
addTask(project, variantTaskName, variantTaskName,
|
||||||
runBefore = runBefore.map { variant.toTask(it) },
|
runBefore = runBefore.map { variant.toTask(it) },
|
||||||
runAfter = runAfter.map { variant.toTask(it) },
|
runAfter = runAfter.map { variant.toTask(it) },
|
||||||
task = { p: Project ->
|
task = { p: Project ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue