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
285 stars 120 forks source link

Support removal of main property in Gradle 8.0 #643

Closed tresat closed 1 year ago

tresat commented 2 years ago

The main property is going to be replaced by mainClass in the JavaExec class. Dynamically attempt to continue calling the original property, but upon failure call the new property instead.

Fixes #602 and (somewhat) #611.