asciidoctor / asciidoctor-gradle-plugin

A Gradle plugin that uses Asciidoctor via JRuby to process AsciiDoc source files within the project.
https://asciidoctor.github.io/asciidoctor-gradle-plugin/
Apache License 2.0
283 stars 120 forks source link

Build fails, because grolifant not in Maven repo #680

Open Lyannic opened 1 year ago

Lyannic commented 1 year ago

Since yesterday, my build is failing, because grolifant:0.14 can't be found in the Maven repo anymore. I changed nothing in my project. When I browse the repo in the browser, I also can't find it. For me, it looks very similar to #652.

 A problem occurred configuring project ':docs'.
> Could not resolve all artifacts for configuration ':docs:classpath'.
    > Could not find org.ysb33r.gradle:grolifant:0.14.
      Searched in the following locations:
        - https://plugins.gradle.org/m2/org/ysb33r/gradle/grolifant/0.14/grolifant-0.14.pom
      If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
      Required by:
          project :docs > org.asciidoctor.jvm.convert:org.asciidoctor.jvm.convert.gradle.plugin:3.1.0 > org.asciidoctor:asciidoctor-gradle-jvm:3.1.0
          project :docs > org.asciidoctor.jvm.convert:org.asciidoctor.jvm.convert.gradle.plugin:3.1.0 > org.asciidoctor:asciidoctor-gradle-jvm:3.1.0 > org.asciidoctor:asciidoctor-gradle-base:3.1.0
obfischer commented 1 year ago

Same here ;-(

ysb33r commented 1 year ago

Please upgrade to 3.3.2 which uses Grolifant 0.16.1.

Otherwise see https://fosstodon.org/@ysb33rOrg/110594542461938818

ysb33r commented 1 year ago

And if you cannot upgrade try adding this to the top of your build.gradle file

buildscript.configurations.classpath.resolutionStrategy.force( 'org.ysb33r.gradle:grolifant:0.14', 'org.ysb33r.gradle:grolifant:0.16.1')
Lyannic commented 1 year ago

Thank you very much! Upgrading to 3.3.2 worked fine for me.