[Bug] Gradle plugin repository plugins-artifacts.gradle.org not accessible in Claude Code environment

Resolved 💬 3 comments Opened Mar 26, 2026 by jonnybbb Closed Mar 26, 2026

Bug Description
The domain plugins-artifacts.gradle.org isn't available in the trusted claude code environments even if the package manager is listed https://code.claude.com/docs/en/claude-code-on-the-web#package-managers-jvm

Environment Info

  • Claude Code Web environment
  • Trusted network settings

Errors

Downloading https://services.gradle.org/distributions/gradle-9.4.1-bin.zip
.............10%.............20%.............30%.............40%.............50%.............60%..............70%.............80%.............90%.............100%
Welcome to Gradle 9.4.1!
Here are the highlights of this release:
 - Java 26 support
 - Non-class-based JVM tests
 - Enhanced console progress bar
For more details see https://docs.gradle.org/9.4.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':buildSrc'.
> Could not resolve all artifacts for configuration 'classpath'.
   > Could not resolve org.gradle.kotlin:gradle-kotlin-dsl-plugins:6.5.2.
     Required by:
         buildscript of project ':buildSrc' > org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:6.5.2
      > Could not resolve org.gradle.kotlin:gradle-kotlin-dsl-plugins:6.5.2.
         > Could not get resource 'https://plugins.gradle.org/m2/org/gradle/kotlin/gradle-kotlin-dsl-plugins/6.5.2/gradle-kotlin-dsl-plugins-6.5.2.pom'.
            > Could not GET 'https://plugins-artifacts.gradle.org/org.gradle.kotlin/gradle-kotlin-dsl-plugins/6.5.2/72d54ed66ea33faf94282351c31019e12e7d7e920ea67a516cbe0e0d67410343/gradle-kotlin-dsl-plugins-6.5.2.pom'. Received status code 403 from server: Forbidden
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights from a Build Scan (powered by Develocity).

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗