kotlin/managing_gradle_dependencies
> Audits and manages Gradle dependency graphs with high-resolution update checks, transitive tree analysis, and Maven Central discovery; use for dependency auditing, finding stable updates, and resolving GAV coordinates. Do NOT use for exploring dependency source code (use `searching_dependency_sources`) or running builds.
npx skills add https://github.com/Kotlin/kotlinx-rpc --skill managing_gradle_dependencies
Audits project dependencies, performs high-resolution update checks, and discovers new libraries on Maven Central with powerful, integrated search tools.
inspect_dependencies for querying project dependency information instead of raw Gradle tasks.projectRoot.updatesOnly: true to quickly identify available library updates.lookup_maven_versions to find exact GAV coordinates for new libraries.projectPath argument to target specific modules in multi-project builds.:app) when querying dependencies.inspect_dependencies output under configurations prefixed with buildscript: (e.g. buildscript:classpath).updatesOnly: true in inspect_dependencies to retrieve a flat, high-signal report of available library updates: group:artifact: current → latest with the project paths where each dep is used.Configuration and source-set detail is intentionally omitted; use inspect_dependencies with a specific dependency filter if that detail is needed.
dependency parameter in inspect_dependencies to target a single library. It supports group:name:version:variant, group:name:version, group:name, or just group. This is significantlyfaster than resolving the entire project graph.
transitive dependencies that do not match the targeted filter.
lookup_maven_versions to check the version history of an existing artifact.gradle for diagnostics: For built-in tasks like dependencyInsight, ALWAYS use the gradle tool with captureTaskOutput.onlyDirect: false in inspect_dependencies when you need to visualize the complete transitive dependency graph.:app).inspect_dependencies(projectPath=":app").configuration (e.g., runtimeClasspath) or sourceSet (e.g., test).inspect_dependencies(updatesOnly=true, stableOnly=true).group:artifact: current → latest and the project paths where it is used.lookup_maven_versions(coordinates="group:artifact") to see all available versions for a specific library.org.mongodb:mongodb-driver-sync).inspect_dependencies(dependency="org.mongodb:mongodb-driver-sync").{
"projectPath": ":app"
}
// Reasoning: Auditing the direct and transitive dependencies of the 'app' module to understand its runtime footprint.
{
"dependency": "org.jetbrains.kotlinx:kotlinx-coroutines-core",
"updatesOnly": true
}
// Reasoning: Surgically checking if a specific library has available updates.
{
"updatesOnly": true,
"stableOnly": true
}
// Reasoning: Performing a high-signal update audit that ignores unstable pre-release versions.
{
"coordinates": "org.jetbrains.kotlinx:kotlinx-serialization-json"
}
// Reasoning: Retrieving the full version history of an artifact to identify the latest stable or specific version required.
projectPath using the projects task in the introspecting_gradle_projects skill.stableOnly is set correctly and check if a versionFilter is active.when onlyDirect=true, or deps excluded by a dependency filter).
group:artifact format for version searches.invocationArguments: { envSource: "SHELL" } if Gradle cannot find expected env vars (e.g., JAVA_HOME).Take kotlin/managing_gradle_dependencies from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.