ci: optimize android build time

This commit is contained in:
paregi12 2026-01-17 17:54:13 +05:30
parent bd1cdeb29e
commit b16d7cf7d8
2 changed files with 8 additions and 1 deletions

View file

@ -23,7 +23,11 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false # Allow writing to cache for this branch
- name: Setup Node.js
uses: actions/setup-node@v4

View file

@ -12,6 +12,9 @@
# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=1024m
# Enable Gradle Build Cache
org.gradle.caching=true
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects