diff --git a/documentation/documentation.gradle.kts b/documentation/documentation.gradle.kts index ad16a4294821..f6d2a83afb25 100644 --- a/documentation/documentation.gradle.kts +++ b/documentation/documentation.gradle.kts @@ -283,7 +283,7 @@ tasks { inputs.dir(kotlin.srcDirs.first()) } - forkOptions { + jvm { // To avoid warning, see https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/597 jvmArgs( "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED",