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
287 stars 122 forks source link

JavaExecSpec.main property deprecated warning and will be removed in Gradle 9.0 #693

Closed Chrispie closed 11 months ago

Chrispie commented 11 months ago

Generating documentation using Gradle 8.5, using the command .\gradlew.bat :asciidoctor --warning-mode=all, has the following deprecated warning

The JavaExecSpec.main property has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the mainClass property instead. For more information, please refer to https://docs.gradle.org/8.5/dsl/org.gradle.process.J
avaExecSpec.html#org.gradle.process.JavaExecSpec:main in the Gradle documentation.

Not sure when 9 would be released though.