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

Gradle build fails: Could not find org.ajoberstar.grgit:grgit-core #156

Open
nhasbun opened this issue Oct 6, 2024 · 1 comment
Open

Comments

@nhasbun
Copy link

nhasbun commented Oct 6, 2024

Recently I was trying to test out the features of this project and I found the following issue:

A problem occurred configuring root project 'tilesfx'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find org.ajoberstar.grgit:grgit-core:4.0.1.
     Searched in the following locations:
       - https://jcenter.bintray.com/org/ajoberstar/grgit/grgit-core/4.0.1/grgit-core-4.0.1.pom
       - https://plugins.gradle.org/m2/org/ajoberstar/grgit/grgit-core/4.0.1/grgit-core-4.0.1.pom
     Required by:
         project : > org.kordamp.gradle.java-project:org.kordamp.gradle.java-project.gradle.plugin:0.42.1 > org.kordamp.gradle:java-project-gradle-plugin:0.42.1 > org.kordamp.gradle:project-gradle-plugin:0.42.1 > org.kordamp.gradle.build-info:org.kordamp.gradle.build-info.gradle.plugin:0.42.1 > org.kordamp.gradle:buildinfo-gradle-plugin:0.42.1 > gradle.plugin.net.nemerosa:versioning:2.14.0
   > Could not find org.codehaus.groovy.modules.http-builder:http-builder:0.7.2.
     Searched in the following locations:
       - https://jcenter.bintray.com/org/codehaus/groovy/modules/http-builder/http-builder/0.7.2/http-builder-0.7.2.pom
       - https://plugins.gradle.org/m2/org/codehaus/groovy/modules/http-builder/http-builder/0.7.2/http-builder-0.7.2.pom
     Required by:
         project : > org.kordamp.gradle.java-project:org.kordamp.gradle.java-project.gradle.plugin:0.42.1 > org.kordamp.gradle:java-project-gradle-plugin:0.42.1 > org.kordamp.gradle:project-gradle-plugin:0.42.1 > org.kordamp.gradle.coveralls:org.kordamp.gradle.coveralls.gradle.plugin:0.42.1 > org.kordamp.gradle:coveralls-gradle-plugin:0.42.1 > gradle.plugin.org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.10.2
   > Could not find org.codehaus.groovy.modules.http-builder:http-builder:0.7.2.
     Searched in the following locations:
       - https://jcenter.bintray.com/org/codehaus/groovy/modules/http-builder/http-builder/0.7.2/http-builder-0.7.2.pom
       - https://plugins.gradle.org/m2/org/codehaus/groovy/modules/http-builder/http-builder/0.7.2/http-builder-0.7.2.pom
     Required by:
         project : > org.kordamp.gradle.java-project:org.kordamp.gradle.java-project.gradle.plugin:0.42.1 > org.kordamp.gradle:java-project-gradle-plugin:0.42.1 > org.kordamp.gradle:project-gradle-plugin:0.42.1 > org.kordamp.gradle.bintray:org.kordamp.gradle.bintray.gradle.plugin:0.42.1 > org.kordamp.gradle:bintray-gradle-plugin:0.42.1 > com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

I guess it's related to the missing jcentral repository. Would be nice to see an update.

@nhasbun
Copy link
Author

nhasbun commented Oct 6, 2024

Ok did the patch myself. It was not a big deal.

#157

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

1 participant