Develocity IntelliJ Plugin User Manual
Version: 1.2.0
The Develocity IntelliJ plugin seamlessly integrates Develocity and Build Scan capabilities directly into your IDE.
-
It displays a live build timeline of task/goal execution and resource usage within your IntelliJ IDE, for all your Gradle and Maven builds.
-
It can automatically configure your Gradle build to publish Build Scans to gradle.com or your Develocity server.
-
It decorates your Java/Kotlin/Groovy test source files with historical test results.
Features
Live Build Timeline
Available for: All Users
The plugin displays a live timeline of task/goal execution and resource usage within the IntelliJ Run tool window. This helps identify bottlenecks and visualize parallelism.
Run a Gradle or Maven build (e.g., via Run Configuration or Gradle Sync). The timeline appears in the build output window.
| Hover over blocks to see task/goal duration and type. |
| CPU and Memory resource usage is visible while the build runs. |
Build Scan publication
Available for: Users publishing to gradle.com or users with a Develocity server
The plugin can automatically configure your Gradle build to publish Build Scans to gradle.com or your Develocity server.
When a Build Scan is published, a notification with a link to the Build Scan appears in the IDE, and you can also access the Build Scan from the timeline toolbar and task/goal details.
| To learn more about Build Scans, see https://scans.gradle.com. |
Test History
Available for: Users connected to a Develocity Server with the Test Analytics feature enabled
When connected to a Develocity server, the plugin decorates your Java/Kotlin/Groovy test source files with historical results. All Build Scans published to your Develocity server (i.e. from you or other local users, and from CI agents) contribute to this analysis.
Test class and test methods are decorated with inlays showing recent pass/fail/flakiness history.
Test history requires permission to access the Develocity Test API.
The provided access key must have the Access build data via the API permission.
|
| Test history can be configured via the settings to work with data from the past day, or the past 7 days. |
Installation
-
Open IntelliJ IDEA.
-
Go to (or on macOS).
-
Navigate to Plugins.
-
Select the Marketplace tab.
-
Search for "Develocity".
-
Click Install next to the "Develocity" plugin and restart your IDE when prompted.
Getting Started
Choose the setup path that best matches your environment.
Path A: Standalone (Local)
For users who want local build insights without connecting to a Develocity server.
You can benefit from the live build timeline feature:
-
Open the settings via (or on macOS).
-
Set Develocity Connection to
None. -
Ensure the
Live build timelinefeature is selected. -
To see the live build timeline, your build needs to be configured:
-
Gradle: Select the
Configure the buildandApply Develocity Gradle plugincheckboxes to configure it automatically. -
Maven: You must manually add the Develocity Maven Extension. See the Develocity Maven Extension User Manual.
-
⇒ Your next build will now show a live timeline while executing.
Path B: Connected (gradle.com)
For users who want deep build insights using the free Build Scan service.
In addition to the live build timeline mentioned above, you can decide to publish a free Build Scan to gradle.com for deeper insights into your build.
| To learn more about Build Scans, see https://scans.gradle.com. |
To publish Build Scans to gradle.com:
-
Open the settings via (or on macOS).
-
Set Develocity Connection to
Develocity at gradle.com. -
Configure your build to accept the Gradle Terms of Use:
-
Gradle: Select the
Configure the buildandI agree to the Gradle Terms of Usecheckboxes. -
Maven: You must manually add the Develocity Maven Extension and accept the Terms of Use. See the Develocity Maven Extension User Manual.
-
⇒ Your next build will now publish a Build Scan to gradle.com when it completes, and a notification with a link to the Build Scan will appear in the IDE.
Path C: Connecting with a Develocity Server
For users with access to a Develocity server.
If your organization uses Develocity, connecting the plugin unlocks historical test results, in addition to the live build timeline and automatic Build Scan publishing features mentioned above.
-
Open the settings via (or on macOS).
-
Set Develocity Connection to
Develocity server. -
Enter your Develocity Server URL.
-
Authenticate with your credentials, if needed:
-
Click the Log in… button.
-
Authentication can be auto-discovered based on existing configuration files on your machine, or a known access key can be provided or generated via your browser.
-
Authentication is required to access Test History features.
-
-
Ensure the
Test history in source filesfeature is selected.
⇒ Test history will be available in your Java/Kotlin/Groovy test source files.
Configuration Reference
Configuration is managed via (or on macOS).
| Develocity Connection | Description |
|---|---|
Develocity Server |
Select this option when connecting to a Develocity server (e.g. your organization’s Develocity server).
|
Develocity at gradle.com |
Select this option when connecting to the free Develocity service at gradle.com. |
None |
Select this option when not connecting to any Develocity server (local-only usage). |
| Features | Description |
|---|---|
Live build timeline |
Enables the live build timeline feature for Gradle and Maven builds executed within IntelliJ.
|
Test history in source files |
Enables test history in Java/Kotlin/Groovy test source files.
|
| Gradle build | Description |
|---|---|
Configure the build |
Automatically configures your Gradle build without modifying its Gradle files.
|
| Maven build | Description |
|---|---|
Configure the build |
Automatically configuring your Maven build is currently not supported. |
Troubleshooting
Live Build Timeline shows no data
- Symptom
-
The timeline view displays a message like "Something went wrong and no data was received from the build."
- Cause
-
The Develocity IntelliJ plugin is not receiving data from the Develocity Gradle plugin / Develocity Maven extension. This typically happens if the Gradle plugin / Maven extension version applied to your build is older than the minimum required version.
- Solution
-
Ensure your build applies Develocity Gradle plugin 4.1 or newer, or Develocity Maven extension 2.1.1 or newer.
Some of my Maven builds are not shown in the Live Build Timeline
- Symptom
-
The timeline view is not displayed for some Maven builds.
- Cause
-
The build is not delegating to Maven, but uses the internal IDE build mechanism. For instance Maven sync/reload are not delegating to Maven, or the IDE can be configured to run tests without delegating to Maven.
- Solution
-
Configure your IDE to delegate the build/test actions to Maven, or do not expect the timeline view to be shown for such builds.
Live Build Timeline is affecting the performance of my machine
- Symptom
-
CPU usage spikes when the timeline view is visible.
- Cause
-
The timeline view might repaint too frequently for the capabilities of your machine.
- Solution
-
Go to , type
Registryand press Enter to open the IDE registry. Then look for the keycom.gradle.develocity.ide.timeline.refresh.millis. You can specify any value between 10ms and 5000ms. Try a bigger value to reduce the performance impact of the timeline view.
Connection to Develocity server fails
- Symptom
-
The settings page displays a message like "Connection to Develocity failed".
- Cause
-
The Develocity server URL is incorrect, or there is a network issue preventing the connection.
- Solution
-
Verify the Develocity server URL is correct, and that your machine can reach the server.
Connection to Develocity server indicates "no API access"
- Symptom
-
The settings page displays a message like "Connection to Develocity OK (without API access)".
- Cause
-
No access key was automatically discovered or provided.
- Solution
-
Click the Log in… button and provide a valid access key with the
Access build data via the APIpermission.
Connection to Develocity Test API fails
- Symptom
-
The settings page displays a message like "Connection to Develocity Test API failed".
- Cause
-
The provided access key does not have the
Access build data via the APIpermission, or the Develocity server does not have the Test Analytics feature enabled. - Solution
-
Provide an access key with the
Access build data via the APIpermission, or contact your Develocity server administrator to enable the Test Analytics feature.