Switch to a okhttp-digest version that is available on Maven central
This commit is contained in:
parent
97e6f45819
commit
f810f648f9
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue