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

Deprecation warning for JavaExecHandleBuilder.setMain(String) method #644

Closed bmuschko closed 1 year ago

bmuschko commented 2 years ago

The following deprecation warning is shown with plugin version 3.3.2 and Gradle 7.4.2.

The JavaExecHandleBuilder.setMain(String) method has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the mainClass property instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.4.2/userguide/upgrading_version_7.html#java_exec_properties
Goooler commented 1 year ago

Dup with #611, the fix in #643.