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

Build broken with resolve errors for grolifant and okhttp-digest #1275

Closed
robertpanzer opened this issue Jul 20, 2024 · 0 comments · Fixed by #1277
Closed

Build broken with resolve errors for grolifant and okhttp-digest #1275

robertpanzer opened this issue Jul 20, 2024 · 0 comments · Fixed by #1277

Comments

@robertpanzer
Copy link
Member

The build is broken at the moment with errors like this:

./gradlew clean build

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'asciidoctorj'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find org.ysb33r.gradle:grolifant:0.12.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/org/ysb33r/gradle/grolifant/0.12/grolifant-0.12.pom
       - https://repo.maven.apache.org/maven2/org/ysb33r/gradle/grolifant/0.12/grolifant-0.12.pom
       - file:/Users/robertpanzer/dev/asciidoctorj/https/oss.sonatype.org/content/repositories/snapshots/org/ysb33r/gradle/grolifant/0.12/grolifant-0.12.pom
     Required by:
         project : > com.github.jruby-gradle.base:com.github.jruby-gradle.base.gradle.plugin:2.0.1 > com.github.jruby-gradle:jruby-gradle-plugin:2.0.1
         project : > com.github.jruby-gradle.base:com.github.jruby-gradle.base.gradle.plugin:2.0.1 > com.github.jruby-gradle:jruby-gradle-plugin:2.0.1 > com.github.jruby-gradle:jruby-gradle-core-plugin:2.0.1
   > Could not find com.burgstaller:okhttp-digest:1.10.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/com/burgstaller/okhttp-digest/1.10/okhttp-digest-1.10.pom
       - https://repo.maven.apache.org/maven2/com/burgstaller/okhttp-digest/1.10/okhttp-digest-1.10.pom
       - file:/Users/robertpanzer/dev/asciidoctorj/https/oss.sonatype.org/content/repositories/snapshots/com/burgstaller/okhttp-digest/1.10/okhttp-digest-1.10.pom
     Required by:
         project : > com.github.jruby-gradle.base:com.github.jruby-gradle.base.gradle.plugin:2.0.1 > com.github.jruby-gradle:jruby-gradle-plugin:2.0.1 > com.github.jruby-gradle:jruby-gradle-core-plugin:2.0.1 > io.github.http-builder-ng:http-builder-ng-okhttp:1.0.3

* 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.

Happens both locally after clearing the cache, and on the CI.

@ysb33r Do you have an idea what could be the problem here?

If I upgrade to the latest alpha, 2.1.0-alpha.2 I get similar issues:

./gradlew clean build

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'asciidoctorj'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find org.ysb33r.gradle:grolifant60:1.0.0-alpha.4.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/org/ysb33r/gradle/grolifant60/1.0.0-alpha.4/grolifant60-1.0.0-alpha.4.pom
       - https://repo.maven.apache.org/maven2/org/ysb33r/gradle/grolifant60/1.0.0-alpha.4/grolifant60-1.0.0-alpha.4.pom
       - file:/Users/robertpanzer/dev/asciidoctorj/https/oss.sonatype.org/content/repositories/snapshots/org/ysb33r/gradle/grolifant60/1.0.0-alpha.4/grolifant60-1.0.0-alpha.4.pom
     Required by:
         project : > com.github.jruby-gradle.base:com.github.jruby-gradle.base.gradle.plugin:2.1.0-alpha.2 > com.github.jruby-gradle:jruby-gradle-plugin:2.1.0-alpha.2
         project : > com.github.jruby-gradle.base:com.github.jruby-gradle.base.gradle.plugin:2.1.0-alpha.2 > com.github.jruby-gradle:jruby-gradle-plugin:2.1.0-alpha.2 > com.github.jruby-gradle:jruby-gradle-core-plugin:2.1.0-alpha.2
   > Could not find com.burgstaller:okhttp-digest:1.10.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/com/burgstaller/okhttp-digest/1.10/okhttp-digest-1.10.pom
       - https://repo.maven.apache.org/maven2/com/burgstaller/okhttp-digest/1.10/okhttp-digest-1.10.pom
       - file:/Users/robertpanzer/dev/asciidoctorj/https/oss.sonatype.org/content/repositories/snapshots/com/burgstaller/okhttp-digest/1.10/okhttp-digest-1.10.pom
     Required by:
         project : > com.github.jruby-gradle.base:com.github.jruby-gradle.base.gradle.plugin:2.1.0-alpha.2 > com.github.jruby-gradle:jruby-gradle-plugin:2.1.0-alpha.2 > com.github.jruby-gradle:jruby-gradle-core-plugin:2.1.0-alpha.2 > io.github.http-builder-ng:http-builder-ng-okhttp:1.0.3
robertpanzer added a commit to robertpanzer/asciidoctorj that referenced this issue Jul 27, 2024
robertpanzer added a commit to robertpanzer/asciidoctorj that referenced this issue Jul 27, 2024
robertpanzer added a commit that referenced this issue Aug 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…1278)

* Fixes #1275. Fix unresolved dependency grolifant and okhttp-digest

* Fix formatting

* Disable CI build on Java 8
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

Successfully merging a pull request may close this issue.

1 participant