Skip to content

Commit

Permalink
build: use gradle configuration cache to speedup the builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jimirocks committed Mar 19, 2024
1 parent bc68ae3 commit 9efb959
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}

- name: Check with Gradle
run: ./gradlew -p ${{ inputs.projectDir }} clean check
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/loxone-client-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}

- name: Release and push tag
shell: bash
Expand Down
1 change: 1 addition & 0 deletions examples/java/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.configuration-cache=true
1 change: 1 addition & 0 deletions examples/kotlin/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.configuration-cache=true
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
kotlin.code.style=official
kotlin.js.compiler=ir
org.gradle.configuration-cache=true

0 comments on commit 9efb959

Please sign in to comment.