Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spotless groovy apply task fails with 403 error for goovy.eclipse.codebrowsing_5.1.0.v202309291934-e2309.jar #2213

Closed
subhashiniv opened this issue Jul 31, 2024 · 1 comment

Comments

@subhashiniv
Copy link

When i run my build gradle , it was able to download all jars except the below one.

Could not create task ':spotlessGroovy'.
java.io.IOException: Failed to load eclipse groovy formatter: java.lang.IllegalArgumentException: 403 at https://groovy.jfrog.io/artifactory/plugins-release/org/codehaus/groovy/groovy-eclipse-integration/5.1.0/e4.29/plugins/org.codehaus.groovy.eclipse.codebrowsing_5.1.0.v202309291934-e2309.jar

Here is my groovy and groovy gradle section. spotless java apply works well though. I am using Intellij IDE. I am also able to download the jar from the browser when i am outside my VPN. In Intellij i have set the proxy settings, also included proxy settings in gradle.properties file. could you please help me here in fixing the issue.

groovy {
// Use the default importOrder configuration
importOrder()

excludeJava() // excludes all Java sources within the Groovy source dirs from formatting
greclipse() // has its own section below
licenseHeaderFile rootProject.file("license")
indentWithSpaces(2)

}
groovyGradle {
target '*.gradle' // default target of groovyGradle
greclipse()
indentWithSpaces(2)
}

@nedtwigg
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants