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.

Jump to install

Source facts

Repository
JosephSanjaya/skills
Last source activity
June 24, 2026 at 11:33
Detected SKILL.md language
English
Stars
5
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.