[BUG] Gradle plugin downloads blocked by Claude Code Web proxy
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The proxy used in Claude Code Web disallows downloads from plugins-artifacts.gradle.org - this is the host from which plugins published to the Gradle Plugin Portal are downloaded.
As CCW discovered itself:
The issue is clear: plugins-artifacts.gradle.org (Gradle's CDN) is blocked by the proxy.
This prevents any Gradle builds that use non-Gradle-builtin plugins (which is most of them) from working in CCW.
What Should Happen?
Gradle builds using published plugins should be able to resolve them to execute build logic when running in CCW.
Error Messages/Logs
FAILURE: Build failed with an exception.
* Where:
Settings file '/home/user/miniprofiler-jvm/settings.gradle.kts' line: 7
* What went wrong:
Error resolving plugin [id: 'build.build-parameters']
> A problem occurred configuring project ':plugins'.
> Could not resolve all files for configuration ':plugins:classpath'.
> Could not resolve org.gradle.kotlin:gradle-kotlin-dsl-plugins:4.0.14.
Required by:
project :plugins > org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:4.0.14
> Could not resolve org.gradle.kotlin:gradle-kotlin-dsl-plugins:4.0.14.
> Could not get resource 'https://plugins.gradle.org/m2/org/gradle/kotlin/gradle-kotlin-dsl-plugins/4.0.14/gradle-kotlin-dsl-plugins-4.0.14.pom'.
> Could not GET 'https://plugins-artifacts.gradle.org/org.gradle.kotlin/gradle-kotlin-dsl-plugins/4.0.14/2fc6f623e775e173141a12dee51bb5ba5a3aa40fff0e6f73dc58e3ce39b21102/gradle-kotlin-dsl-plugins-4.0.14.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.
> Get more help at https://help.gradle.org.
Steps to Reproduce
- Clone https://github.com/gradle/gradle-build-scan-quickstart
- Run
./gradlew
It will fail trying to resolve one of the plugins applied in settings.gradle.kts.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.74 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Note that the above stuff about Claude version etc probably isn't relevant since this was Claude Code Web.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗