This commit is contained in:
pavel 2026-07-08 10:28:32 +02:00
commit 5b65c4c0e4
11 changed files with 4237 additions and 297 deletions

View file

@ -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)
})
}
}