Enable build cache (DataDog/dd-trace-java#1607)
MODIFY
.circleci/config.yml
.circleci/config.yml
@@ -17,7 +17,7 @@ cache_keys: &cache_keys
parameters:
gradle_flags:
type: string
- default: "--build-cache --parallel --stacktrace --no-daemon"
+ default: "--stacktrace --no-daemon"
jobs:
build:

MODIFY
gradle.properties
gradle.properties
+org.gradle.parallel=true
+org.gradle.caching=true
+
org.gradle.jvmargs=-XX:MaxMetaspaceSize=1g

Enable build cache (DataDog/dd-trace-java#1607)