asciidoctor-gradle-plugin icon indicating copy to clipboard operation
asciidoctor-gradle-plugin copied to clipboard

Build fails, because grolifant not in Maven repo

Open Lyannic opened this issue 2 years ago • 4 comments

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

Lyannic avatar Jun 23 '23 10:06 Lyannic

Same here ;-(

obfischer avatar Jun 23 '23 12:06 obfischer

Please upgrade to 3.3.2 which uses Grolifant 0.16.1.

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

ysb33r avatar Jun 23 '23 16:06 ysb33r

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')

ysb33r avatar Jun 23 '23 18:06 ysb33r

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

Lyannic avatar Jun 23 '23 18:06 Lyannic