diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 0221568..98642df 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -19,9 +19,8 @@ on: - docs - iosApp -#concurrency: -# group: build-android-${{ github.ref }} -# cancel-in-progress: true +env: + GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx6g -Dorg.gradle.daemon=false -Dorg.gradle.vfs.watch=false -Dkotlin.incremental=false" jobs: build_android: diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 513473c..2b86ca5 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -19,9 +19,8 @@ on: - docs - androidApp -#concurrency: -# group: build-ios-${{ github.ref }} -# cancel-in-progress: true +env: + GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx6g -Dorg.gradle.daemon=false -Dorg.gradle.vfs.watch=false -Dkotlin.incremental=false" jobs: build_ios: diff --git a/gradle.properties b/gradle.properties index 5086032..e83e0f6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Gradle -org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 org.gradle.parallel=true org.gradle.caching=true org.gradle.configuration-cache=true