Skip to content

Commit

Permalink
Merge pull request #218 from MostafaMohamed2002/feature/enable-gradle…
Browse files Browse the repository at this point in the history
…-caching

ci: support gradle dependency caching in workflows
  • Loading branch information
andrewtavis authored Oct 22, 2024
2 parents a25f8d4 + 51e8244 commit d2fd822
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/pr_ktlint_detekt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
distribution: "zulu"
java-version: 17
cache: 'gradle'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr_unit_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
distribution: "zulu"
java-version: 17
cache: 'gradle'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ android.nonFinalResIds=false
android.nonTransitiveRClass=false
android.useAndroidX=true
org.gradle.jvmargs=-Xmx4g -Xms1g

org.gradle.caching=true

0 comments on commit d2fd822

Please sign in to comment.