diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 075ce0fc91..6d2b741d8e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,6 +42,6 @@ jobs: fi done - name: "Execute Gradle assemble" - run: "./gradlew --no-daemon assemble" + run: "./gradlew --max-workers 2 assemble" - name: "Execute Gradle check" - run: "./gradlew --no-daemon check" + run: "./gradlew --max-workers 2 check" diff --git a/gradle.properties b/gradle.properties index 4d1a0f2d02..2eea3a3cb4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,4 @@ android.useAndroidX=true org.gradle.configuration-cache=true +org.gradle.caching=true org.gradle.jvmargs=-Xmx2048m -XX:+UseParallelGC --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED