diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 729fb31..04e3dea 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 diff --git a/.github/workflows/loxone-client-release.yml b/.github/workflows/loxone-client-release.yml index 1df5c56..10a0d14 100644 --- a/.github/workflows/loxone-client-release.yml +++ b/.github/workflows/loxone-client-release.yml @@ -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 diff --git a/examples/java/gradle.properties b/examples/java/gradle.properties new file mode 100644 index 0000000..5ad6974 --- /dev/null +++ b/examples/java/gradle.properties @@ -0,0 +1 @@ +org.gradle.configuration-cache=true diff --git a/examples/kotlin/gradle.properties b/examples/kotlin/gradle.properties new file mode 100644 index 0000000..5ad6974 --- /dev/null +++ b/examples/kotlin/gradle.properties @@ -0,0 +1 @@ +org.gradle.configuration-cache=true diff --git a/gradle.properties b/gradle.properties index 9dcc3a7..842468d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,3 @@ kotlin.code.style=official kotlin.js.compiler=ir +org.gradle.configuration-cache=true