I have the following error while performing the gradle build
command.
Execution failed for task ':asciidoctor'.
> Cannot locate a Guava JAR in the Gradle distribution
I'm using macOS Big Sur.
The problem seems to be an old version of asciidoctor
plugins. I'm currently using Gradle 7.2.
I had the plugins declared this way:
plugins {
id("org.asciidoctor.jvm.pdf") version "3.2.0"
id("org.asciidoctor.jvm.gems") version "3.2.0"
id("org.asciidoctor.jvm.convert") version "3.2.0"
}
Updating These to "3.3.2" fixed the issue.