diff --git a/.github/actions/run-gradle/action.yml b/.github/actions/run-gradle/action.yml index 74aceb0b89..856cca9682 100644 --- a/.github/actions/run-gradle/action.yml +++ b/.github/actions/run-gradle/action.yml @@ -72,12 +72,13 @@ runs: JAVA_HOME: ${{ steps.setup-gradle-jdk.outputs.path }} with: cache-read-only: false - generate-job-summary: false + dependency-graph: generate + gradle-home-cache-cleanup: true gradle-home-cache-strict-match: true - arguments: | - -Porg.gradle.java.installations.auto-download=false - --no-scan - help + # arguments: | + # -Porg.gradle.java.installations.auto-download=false + # --no-scan + # help - name: Backoff if: steps.setup-gradle.outcome == 'failure' shell: bash @@ -86,8 +87,4 @@ runs: env: JAVA_HOME: ${{ steps.setup-gradle-jdk.outputs.path }} shell: bash - run: | - stopMarker=$(uuidgen) - echo "::stop-commands::$stopMarker" - trap "echo '::$stopMarker::'" EXIT - ./gradlew -Porg.gradle.java.installations.auto-download=false ${{ inputs.arguments }} + run: ./gradlew -Porg.gradle.java.installations.auto-download=false ${{ inputs.arguments }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5428b3d48b..85ea125623 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -332,7 +332,7 @@ jobs: with: | cache-read-only: false arguments: help --no-scan - generate-job-summary: false + gradle-home-cache-cleanup: true attempt_limit: 3 attempt_delay: 2000 - name: Publish Snapshot diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 544a93767a..be51ea5b89 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -70,7 +70,7 @@ jobs: with: | cache-read-only: false arguments: help --no-scan - generate-job-summary: false + gradle-home-cache-cleanup: true attempt_limit: 3 attempt_delay: 2000 - name: Initialize CodeQL diff --git a/.github/workflows/dependency-submission.yml b/.github/workflows/dependency-submission.yml index b3103d61be..c400dc9966 100644 --- a/.github/workflows/dependency-submission.yml +++ b/.github/workflows/dependency-submission.yml @@ -54,7 +54,7 @@ jobs: with: | cache-read-only: false arguments: help --no-scan - generate-job-summary: false + gradle-home-cache-cleanup: true attempt_limit: 3 attempt_delay: 2000 - name: Submit Dependency Graph diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 38119127c4..9031328db9 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -52,8 +52,8 @@ jobs: action: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2 with: | cache-read-only: false - generate-job-summary: false arguments: help --no-scan + gradle-home-cache-cleanup: true gradle-home-cache-strict-match: true attempt_limit: 3 attempt_delay: 2000 diff --git a/examples/coalescing-bulkloader-reactor/gradle.properties b/examples/coalescing-bulkloader-reactor/gradle.properties new file mode 100644 index 0000000000..560b0f9c22 --- /dev/null +++ b/examples/coalescing-bulkloader-reactor/gradle.properties @@ -0,0 +1,5 @@ +org.gradle.configuration-cache=true +org.gradle.configureondemand=true +org.gradle.parallel=true +org.gradle.caching=true +org.gradle.daemon=true diff --git a/examples/coalescing-bulkloader-reactor/settings.gradle.kts b/examples/coalescing-bulkloader-reactor/settings.gradle.kts index f0fb67436a..3a9ddbc921 100644 --- a/examples/coalescing-bulkloader-reactor/settings.gradle.kts +++ b/examples/coalescing-bulkloader-reactor/settings.gradle.kts @@ -1,4 +1,6 @@ plugins { + id("com.gradle.enterprise") version "3.14.1" + id("com.gradle.common-custom-user-data-gradle-plugin") version "1.11.1" id("org.gradle.toolchains.foojay-resolver-convention") version "0.6.0" } @@ -8,4 +10,6 @@ dependencyResolutionManagement { } } +apply(from = "../../gradle/gradle-enterprise.gradle") + rootProject.name = "coalescing-bulkloader-reactor" diff --git a/examples/graal-native/gradle.properties b/examples/graal-native/gradle.properties new file mode 100644 index 0000000000..44f7c84263 --- /dev/null +++ b/examples/graal-native/gradle.properties @@ -0,0 +1,5 @@ +org.gradle.configuration-cache=false +org.gradle.configureondemand=true +org.gradle.parallel=true +org.gradle.caching=true +org.gradle.daemon=true diff --git a/examples/graal-native/settings.gradle.kts b/examples/graal-native/settings.gradle.kts index 5821f00348..2cbb798bd2 100644 --- a/examples/graal-native/settings.gradle.kts +++ b/examples/graal-native/settings.gradle.kts @@ -5,6 +5,8 @@ pluginManagement { } } plugins { + id("com.gradle.enterprise") version "3.14.1" + id("com.gradle.common-custom-user-data-gradle-plugin") version "1.11.1" id("org.gradle.toolchains.foojay-resolver-convention") version "0.6.0" } @@ -13,4 +15,7 @@ dependencyResolutionManagement { mavenCentral() } } + +apply(from = "../../gradle/gradle-enterprise.gradle") + rootProject.name = "graal-native" diff --git a/examples/hibernate/gradle.properties b/examples/hibernate/gradle.properties new file mode 100644 index 0000000000..560b0f9c22 --- /dev/null +++ b/examples/hibernate/gradle.properties @@ -0,0 +1,5 @@ +org.gradle.configuration-cache=true +org.gradle.configureondemand=true +org.gradle.parallel=true +org.gradle.caching=true +org.gradle.daemon=true diff --git a/examples/hibernate/settings.gradle.kts b/examples/hibernate/settings.gradle.kts index 6a274506d4..27bbd6b7e2 100644 --- a/examples/hibernate/settings.gradle.kts +++ b/examples/hibernate/settings.gradle.kts @@ -1,4 +1,6 @@ plugins { + id("com.gradle.enterprise") version "3.14.1" + id("com.gradle.common-custom-user-data-gradle-plugin") version "1.11.1" id("org.gradle.toolchains.foojay-resolver-convention") version "0.6.0" } @@ -8,4 +10,6 @@ dependencyResolutionManagement { } } +apply(from = "../../gradle/gradle-enterprise.gradle") + rootProject.name = "hibernate" diff --git a/examples/resilience-failsafe/gradle.properties b/examples/resilience-failsafe/gradle.properties new file mode 100644 index 0000000000..560b0f9c22 --- /dev/null +++ b/examples/resilience-failsafe/gradle.properties @@ -0,0 +1,5 @@ +org.gradle.configuration-cache=true +org.gradle.configureondemand=true +org.gradle.parallel=true +org.gradle.caching=true +org.gradle.daemon=true diff --git a/examples/resilience-failsafe/settings.gradle.kts b/examples/resilience-failsafe/settings.gradle.kts index feca31d3d6..59feba39dd 100644 --- a/examples/resilience-failsafe/settings.gradle.kts +++ b/examples/resilience-failsafe/settings.gradle.kts @@ -1,4 +1,6 @@ plugins { + id("com.gradle.enterprise") version "3.14.1" + id("com.gradle.common-custom-user-data-gradle-plugin") version "1.11.1" id("org.gradle.toolchains.foojay-resolver-convention") version "0.6.0" } @@ -8,4 +10,6 @@ dependencyResolutionManagement { } } +apply(from = "../../gradle/gradle-enterprise.gradle") + rootProject.name = "resilience-failsafe" diff --git a/examples/write-behind-rxjava/gradle.properties b/examples/write-behind-rxjava/gradle.properties new file mode 100644 index 0000000000..560b0f9c22 --- /dev/null +++ b/examples/write-behind-rxjava/gradle.properties @@ -0,0 +1,5 @@ +org.gradle.configuration-cache=true +org.gradle.configureondemand=true +org.gradle.parallel=true +org.gradle.caching=true +org.gradle.daemon=true diff --git a/examples/write-behind-rxjava/settings.gradle.kts b/examples/write-behind-rxjava/settings.gradle.kts index b9399d1842..dfbf6da592 100644 --- a/examples/write-behind-rxjava/settings.gradle.kts +++ b/examples/write-behind-rxjava/settings.gradle.kts @@ -1,4 +1,6 @@ plugins { + id("com.gradle.enterprise") version "3.14.1" + id("com.gradle.common-custom-user-data-gradle-plugin") version "1.11.1" id("org.gradle.toolchains.foojay-resolver-convention") version "0.6.0" } @@ -8,4 +10,6 @@ dependencyResolutionManagement { } } +apply(from = "../../gradle/gradle-enterprise.gradle") + rootProject.name = "writebehind-rxjava"