configure Gradle memory settings for improved build performance
Some checks failed
Build Android App / build (push) Failing after 28m27s
Some checks failed
Build Android App / build (push) Failing after 28m27s
This commit is contained in:
@@ -61,6 +61,11 @@ jobs:
|
||||
- name: Get dependancies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Configure Gradle memory
|
||||
run: |
|
||||
echo "org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m" >> android/gradle.properties
|
||||
echo "org.gradle.daemon=true" >> android/gradle.properties
|
||||
|
||||
- name: Build APK
|
||||
run: flutter build apk --release
|
||||
|
||||
|
||||
Reference in New Issue
Block a user