Skip to main content

gradle-task-expert

Expert guidance for authoring and configuring Gradle tasks using Groovy DSL and Kotlin DSL (KTS) for Gradle 9.5.1 with Configuration Cache, up-to-date checks, and input/output modeling. Use this skill whenever the user asks about registering Gradle tasks, configuring task actions, resolving configuration cache violations, migrating from eager to lazy task APIs, declaring inputs/outputs with properties and providers, or setting up task dependency/ordering relationships. Also trigger for symptoms like a Detekt or SourceTask scanning the whole project instead of a specific file subset, source() vs setSource() confusion, Provider<List<String>> not expanding correctly in setSource() or files(), onlyIf lambda causing "cannot serialize Gradle script object references" in a .gradle.kts precompiled plugin, or any question about @SkipWhenEmpty as an alternative to onlyIf on SourceTask subclasses.

跳到安装

来源信息

仓库
JosephSanjaya/skills
最近来源活动
2026年6月24日 11:33
检测到的 SKILL.md 语言
英语
星标
5
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。