Skip to content

Commit cac59f1

Browse files
kingg22DavideD
authored andcommitted
[#2492] build(gradle): enable configuration cache, configure on demand, caching
run parallel don't have perfect support with test containers, have problems with ports
1 parent fe25269 commit cac59f1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

gradle.properties

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ toolchain.compiler.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOf
55
toolchain.javadoc.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
66
toolchain.launcher.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
77

8+
# asciidoctor gradle plugin don't support configuration cache
9+
org.gradle.configuration-cache=true
10+
org.gradle.configureondemand=true
11+
# configuration of testcontainers need to be updated to prevent bind the same port
12+
org.gradle.parallel=false
13+
org.gradle.caching=true
14+
org.gradle.daemon=true
15+
816
# JDK auto-detection is not quite ready yet in Gradle 6.7.
917
# On Fedora in particular, if you have the package java-1.8.0-openjdk-headless-1.8.0.265.b01-1.fc32.x86_64 installed,
1018
# Gradle will look for the Java binaries in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.265.b01-1.fc32.x86_64/bin/java

0 commit comments

Comments
 (0)