Develocity for kotlinx-rpc
Query build scans, test results, and failure patterns from the kotlinx-rpc
Develocity instance via mcp__develocity__* MCP tools.
Project Setup
- Server:
https://ge.jetbrains.com - Build scan URL pattern:
https://ge.jetbrains.com/s/<buildId> - Gradle project name:
kotlinx-rpc - Build tool:
gradle
How it's wired
All Develocity configuration lives in a single convention plugin:
gradle-conventions-settings/develocity/ which exposes
conventions-develocity as a settings plugin. Builds opt in by applying
id("conventions-develocity") in their settings.gradle.kts.
| Build | Publishes scans? |
|---|---|
Root (:) |
Yes |
compiler-plugin/ |
Yes |
dokka-plugin/ |
Yes |
gradle-plugin/ |
No |
protoc-gen/ |
No |
native-deps/shims/ |
No (hard opt-out) |
native-deps/grpc-c-prebuilt/ |
No (hard opt-out) |
Build cache
- Remote cache at
ge.jetbrains.comis always readable. - Only CI builds push to the remote cache (
isPush = isCIRun). - Local cache is disabled on CI.
Custom scan metadata
Scans include custom values and links that are useful for filtering:
| Context | Custom value | Custom link |
|---|---|---|
| CI (TC) | CI build id |
kotlinx.rpc TeamCity build (link) |
| Local | Git Commit ID |
GitHub Commit Link |
| Local | Git Branch Name |
GitHub Branch Link |
| Local | Git Status (dirty) |
-- |
Opt-out properties
Developers can add these to ~/.gradle/gradle.properties:
kotlinx.rpc.develocity.skipBuildScans=true-- stop publishing scanskotlinx.rpc.develocity.skipGitTags=true-- stop adding git metadata
MCP Tools
Use develocity MCP to query and analyze build scans.