bl
This commit is contained in:
parent
41adeeb47f
commit
5b65c4c0e4
11 changed files with 4237 additions and 297 deletions
|
|
@ -102,6 +102,7 @@ private data class GradleTaskInfo(
|
|||
val path: String,
|
||||
val name: String,
|
||||
val description: String?,
|
||||
val group: String?,
|
||||
)
|
||||
|
||||
private class ClientSession(
|
||||
|
|
@ -601,6 +602,7 @@ private fun collectTasks(project: GradleProject): List<GradleTaskInfo> {
|
|||
path = task.path,
|
||||
name = task.name,
|
||||
description = task.description,
|
||||
group = runCatching { task.group }.getOrNull(),
|
||||
)
|
||||
}
|
||||
current.children.forEach(::visit)
|
||||
|
|
@ -1107,6 +1109,7 @@ private fun tasksJson(tasks: List<GradleTaskInfo>): JsonElement = buildJsonArray
|
|||
put("path", task.path)
|
||||
put("name", task.name)
|
||||
put("description", task.description)
|
||||
put("group", task.group)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue