diff --git a/config/nom_build.py b/config/nom_build.py index 5e8bbad4925..dbaf558393f 100644 --- a/config/nom_build.py +++ b/config/nom_build.py @@ -56,7 +56,7 @@ class GradleFlag: # nom_build), run ./nom_build --help. # # DO NOT EDIT THIS FILE BY HAND -org.gradle.jvmargs=-Xmx2048m +org.gradle.jvmargs=-Xmx4096m org.gradle.caching=true org.gradle.parallel=true """ diff --git a/gradle.properties b/gradle.properties index fdb339e4f02..41fc499ed11 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ # nom_build), run ./nom_build --help. # # DO NOT EDIT THIS FILE BY HAND -org.gradle.jvmargs=-Xmx2048m +org.gradle.jvmargs=-Xmx4096m org.gradle.caching=true org.gradle.parallel=true mavenUrl= diff --git a/release/cloudbuild-nomulus.yaml b/release/cloudbuild-nomulus.yaml index 5f6615910d8..b3cdc6436b2 100644 --- a/release/cloudbuild-nomulus.yaml +++ b/release/cloudbuild-nomulus.yaml @@ -14,6 +14,7 @@ steps: env: [ 'GRADLE_USER_HOME=/workspace/cloudbuild-caches' ] args: ['./gradlew', 'test', + '--max-workers=8', '-PskipDockerIncompatibleTests=true', '-PmavenUrl=gcs://domain-registry-maven-repository/maven', '-PpluginsUrl=gcs://domain-registry-maven-repository/plugins'