diff --git a/documentation/documentation.gradle b/documentation/documentation.gradle index ef3c0d9db4..d533dda3ab 100644 --- a/documentation/documentation.gradle +++ b/documentation/documentation.gradle @@ -3,6 +3,16 @@ import java.util.function.Function import org.asciidoctor.gradle.jvm.AsciidoctorTask import org.asciidoctor.gradle.jvm.pdf.AsciidoctorPdfTask +buildscript { + configurations.all { + resolutionStrategy.dependencySubstitution { + substitute module( 'com.burgstaller:okhttp-digest:1.10' ) using module( + 'io.github.rburgst:okhttp-digest:1.21' + ) because 'okhttp-digest only version 1.21 is available on Maven Central. Old version was on jcenter, which asciidoctor-gradle-plugin depends on transitively through simplified-jruby-gradle-plugin via http-builder-ng-okhttp ' + } + } +} + plugins { id 'org.asciidoctor.jvm.convert' version '4.0.2' id 'org.asciidoctor.jvm.pdf' version '4.0.2' diff --git a/gradle.properties b/gradle.properties index 134b7bf890..79d8cbd8ae 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ # Keep all these properties in sync unless you know what you are doing! # We set '-Dlog4j2.disableJmx=true' to prevent classloader leaks triggered by the logger. # (Some of these settings need to be repeated in the test.jvmArgs blocks of each module) -org.gradle.jvmargs=-Dlog4j2.disableJmx -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Dlog4j2.disableJmx -Xmx2g -XX:MaxMetaspaceSize=384m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8 toolchain.compiler.jvmargs=-Dlog4j2.disableJmx=true -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8 toolchain.javadoc.jvmargs=-Dlog4j2.disableJmx=true -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8 toolchain.launcher.jvmargs=-Dlog4j2.disableJmx=true -Xmx2g -XX:MaxMetaspaceSize=384m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8