Skip to content

Commit a97208d

Browse files
committed
[#2622] Disable Gradle cache
After the work done for #2492, the tasks should be cacheable, but I have some failures when I build locally that disapper when I disable the cache. I don't have time to investigate this any further right now. For now, the build is quick enough when using PostgreSQL + Testcontainers.
1 parent 3baccbc commit a97208d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

gradle.properties

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ 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+
# Note: I disabled the cache because it was affecting the result of the build locally
89
# asciidoctor gradle plugin don't support configuration cache
9-
org.gradle.configuration-cache=true
10+
org.gradle.configuration-cache=false
1011
org.gradle.configureondemand=true
11-
# configuration of testcontainers need to be updated to prevent bind the same port
12+
# Disabled because testcontainers might try to connect to the same port
1213
org.gradle.parallel=false
13-
org.gradle.caching=true
14+
org.gradle.caching=false
1415
org.gradle.daemon=true
1516

1617
# JDK auto-detection is not quite ready yet in Gradle 6.7.

0 commit comments

Comments
 (0)