asciidoctor / asciidoctor-gradle-examples

A collection of example projects that demonstrates how to use the Asciidoctor Gradle plugin
http://asciidoctor.github.io/asciidoctor-gradle-examples
Other
146 stars 132 forks source link

Example project - build fails #63

Open greg-hutchinson opened 1 year ago

greg-hutchinson commented 1 year ago

I have been trying to get this example running and have tried many combinations of JDK with Gradle versions but always seem to run into a build failure. I am particularly interested in getting the revealjs example to work. If this build works for others, I would be happy just to know which versions of what are being run. Here are my current settings, and the current error.

PS C:\git-repos\asciidoctor-gradle-examples> java --version openjdk 17.0.5 2022-10-18 OpenJDK Runtime Environment JBR-17.0.5+1-653.14-nomod (build 17.0.5+1-b653.14) OpenJDK 64-Bit Server VM JBR-17.0.5+1-653.14-nomod (build 17.0.5+1-b653.14, mixed mode) PS C:\git-repos\asciidoctor-gradle-examples> .\gradlew --version


Gradle 7.3

Build time: 2021-11-09 20:40:36 UTC Revision: 96754b8c44399658178a768ac764d727c2addb37

Kotlin: 1.5.31 Groovy: 3.0.9 Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021 JVM: 17.0.5 (JetBrains s.r.o. 17.0.5+1-b653.14) OS: Windows 11 10.0 amd64

PS C:\git-repos\asciidoctor-gradle-examples> .\gradlew asciidoctor

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 952ms

PacoVK commented 1 year ago

I ran into the same problem the plugin seems to work only up to Gradle 7.0.2.