---
name: "glab-dependency-firewall-gradle"
section: "1"
platform: "linux"
package: "glab"
version: "1.126.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/glab-dependency-firewall-gradle"
---

# glab-dependency-firewall-gradle(1)

Run Gradle through the GitLab Dependency Firewall. (BETA)

## NAME

glab-dependency-firewall-gradle - Run Gradle through the GitLab Dependency Firewall. (BETA)

## SYNOPSIS

**glab dependency-firewall gradle  \[flags\]**

## DESCRIPTION

Run the Gradle binary through the GitLab Dependency Firewall. The command checks each package download and upload against the policy for the current project, refuses blocked packages, and summarizes the results after the run.

The command uses your package manager's registry or index configuration, and does not modify it.

The command runs **gradle** from your **PATH**. The Gradle Wrapper (**./gradlew**) is not supported.

Gradle does not download artifacts already cached in **~/.gradle/caches/**, so the firewall does not check them. Clear the cache to check them again.

All arguments are forwarded to **gradle** verbatim.

This feature is in beta and might not be ready for production use. It might be unstable and breaking changes can occur outside of major releases. For more information, see https://docs.gitlab.com/policy/development\_stages\_support/.

## OPTIONS INHERITED FROM PARENT COMMANDS

**-h**, **--help**\[=false\]\
 	Show help for this command.

## EXAMPLE

```
# Build a project through the Dependency Firewall
glab dependency-firewall gradle build
# List dependencies through the Dependency Firewall
glab dependency-firewall gradle dependencies
```

## SEE ALSO

**[glab-dependency-firewall(1)](/glab-dependency-firewall/1.md)**
