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

Error finding gradle-tooling-api #6918

Open
steventrouble opened this issue Jun 21, 2021 · 3 comments
Open

Error finding gradle-tooling-api #6918

steventrouble opened this issue Jun 21, 2021 · 3 comments

Comments

@steventrouble
Copy link

steventrouble commented Jun 21, 2021

tl;dr: Fix in #6917

I'm getting this error when I try to build the project or any of the samples.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':node-driver:compileKotlin'.
> Could not resolve all files for configuration ':node-driver:compileClasspath'.
   > Could not find org.gradle:gradle-tooling-api:5.6.4.
     Searched in the following locations:
       - file:/home/steven/.m2/repository/org/gradle/gradle-tooling-api/5.6.4/gradle-tooling-api-5.6.4.pom
       - file:/home/steven/.m2/repository/org/gradle/gradle-tooling-api/5.6.4/gradle-tooling-api-5.6.4.jar
       - https://repo.gradle.org/gradle/libs-releases/org/gradle/gradle-tooling-api/5.6.4/gradle-tooling-api-5.6.4.pom
       - https://repo.gradle.org/gradle/libs-releases/org/gradle/gradle-tooling-api/5.6.4/gradle-tooling-api-5.6.4.jar
       - https://repo.maven.apache.org/maven2/org/gradle/gradle-tooling-api/5.6.4/gradle-tooling-api-5.6.4.pom
       - https://repo.maven.apache.org/maven2/org/gradle/gradle-tooling-api/5.6.4/gradle-tooling-api-5.6.4.jar
       - https://jcenter.bintray.com/org/gradle/gradle-tooling-api/5.6.4/gradle-tooling-api-5.6.4.pom
       - https://jcenter.bintray.com/org/gradle/gradle-tooling-api/5.6.4/gradle-tooling-api-5.6.4.jar
     Required by:
         project :node-driver

It looks like gradle's repo https://repo.gradle.org/gradle/ doesn't work anymore. It could be a temporary issue, but given JFrog's recent changes it's possible it was intentional. The alternative https://repo.gradle.org/artifactory/ is working correctly. I submitted a pull request here that fixes the issue on my machine.

@rick-r3
Copy link
Contributor

rick-r3 commented Jan 18, 2022

@steventrouble We don't seem to have needed to do this. Can you confirm if you think this is still an issue?

@steventrouble
Copy link
Author

steventrouble commented Jan 19, 2022 via email

@nargas-ritu
Copy link
Contributor

nargas-ritu commented Jan 25, 2022

Created CORDA-4187 for review

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

No branches or pull requests

5 participants