From 132a23f2bf06fcf201341941d7ef9ecaecc8a59d Mon Sep 17 00:00:00 2001 From: hfhbd <22521688+hfhbd@users.noreply.github.com> Date: Thu, 12 Dec 2024 00:24:40 +0100 Subject: [PATCH] Move org.gradle.caching=true to properties --- .github/workflows/CD.yml | 3 --- .github/workflows/CI.yml | 3 --- .github/workflows/dependencies.yml | 3 --- gradle.properties | 1 + 4 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 2d2d520e..a75e9c74 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -24,9 +24,6 @@ jobs: id-token: write attestations: write - env: - GRADLE_OPTS: -Dorg.gradle.caching=true - environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 91d070d1..2a142940 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,9 +12,6 @@ jobs: permissions: security-events: write - env: - GRADLE_OPTS: -Dorg.gradle.caching=true - steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 6dddc6f8..5f3004ae 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -13,9 +13,6 @@ jobs: permissions: contents: write - env: - GRADLE_OPTS: -Dorg.gradle.caching=true - steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 diff --git a/gradle.properties b/gradle.properties index 3a37bf21..5aca1473 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,6 @@ org.gradle.jvmargs=-Xmx4096m org.gradle.parallel=true +org.gradle.caching=true org.gradle.configuration-cache=true org.gradle.configureondemand=true org.gradle.kotlin.dsl.skipMetadataVersionCheck=false