Gradle plugin build fails: Received status code 403 from server: Forbidden
Hi,
I am getting the following error lately on my build-pipeline (https://github.com/SeeSharpSoft/intellij-csv-validator/actions) stating:
---
---
Locally I am getting similar errors:
---
Execution failed for task ':instrumentCode'.
> Could not resolve all files for configuration ':detachedConfiguration3'.
> Could not download asm-all-9.1.jar (org.jetbrains.intellij.deps:asm-all:9.1)
> Could not get resource 'https://jetbrains.bintray.com/intellij-third-party-dependencies/org/jetbrains/intellij/deps/asm-all/9.1/asm-all-9.1.jar'.
> Could not GET 'https://jetbrains.bintray.com/intellij-third-party-dependencies/org/jetbrains/intellij/deps/asm-all/9.1/asm-all-9.1.jar'. Received status code 403 from server: Forbidden
> Could not download jdom-2.0.6.jar (org.jetbrains.intellij.deps:jdom:2.0.6)
> Could not get resource 'https://jetbrains.bintray.com/intellij-third-party-dependencies/org/jetbrains/intellij/deps/jdom/2.0.6/jdom-2.0.6.jar'.
> Could not GET 'https://jetbrains.bintray.com/intellij-third-party-dependencies/org/jetbrains/intellij/deps/jdom/2.0.6/jdom-2.0.6.jar'. Received status code 403 from server: Forbidden
---
I haven't changed anything in the gradle build script lately. What did just happen?
请先登录再写评论。
I already did it locally (maybe thats why I got different errors)...
...but now I tried updating everything, and the problem seems to be related to my outdated "gradle-grammar-kit-plugin"
I upgraded it to
and now it works.
Thank you for the quick response!
Update Gradle IntelliJ Plugin to the latest version.