---
title: "Get the plugins of a Gradle build."
method: GET
path: "/api/builds/{id}/gradle-plugins"
tags: ["Builds", "Develocity"]
---

# Get the plugins of a Gradle build.

`GET /api/builds/{id}/gradle-plugins`

## Request

- Base URL: `https://develocity.example.com`
- URL: `https://develocity.example.com/api/builds/{id}/gradle-plugins`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/develocity/apis/develocity-api/docs/api/builds/:id/gradle-plugins/get.ts> (a function with typed inputs; its response is checked against the schema)

This model is Gradle specific and cannot be requested for another build tool.

## Response `200`

The list of plugins in a Gradle build.

- GradlePlugins
  - `plugins` GradlePlugin[]: A list of applied plugins in a Gradle build.
    - `id` string: The plugin ID. May be `null`.
    - `className` string, required: The fully qualified class name of the plugin.
    - `version` string, nullable: The plugin version. May be `null`.
    - `projects` string[], required: The paths of the projects where the plugin is applied. Will always be an array of size 1 for a single project build.

## Other responses

- `400`: The request cannot be fulfilled due to a problem.
- `404`: The referenced resource either does not exist or the permissions to know about it are missing.
- `500`: The server encountered an unexpected error.
- `503`: The server is not ready to handle the request.

---

[API](https://skmtc.dev/develocity/apis/develocity-api.md) - [All operations](https://skmtc.dev/develocity/apis/develocity-api/llms.txt) - [OpenAPI document](https://skmtc.dev/develocity/apis/develocity-api/revisions/b49835fbf065?raw)
