Skip to content

Commit

Permalink
build experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Aug 13, 2023
1 parent 07bfdc7 commit 49fe2b2
Show file tree
Hide file tree
Showing 15 changed files with 57 additions and 14 deletions.
17 changes: 7 additions & 10 deletions .github/actions/run-gradle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions examples/coalescing-bulkloader-reactor/gradle.properties
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions examples/coalescing-bulkloader-reactor/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -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"
}

Expand All @@ -8,4 +10,6 @@ dependencyResolutionManagement {
}
}

apply(from = "../../gradle/gradle-enterprise.gradle")

rootProject.name = "coalescing-bulkloader-reactor"
5 changes: 5 additions & 0 deletions examples/graal-native/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
org.gradle.configuration-cache=true
org.gradle.configureondemand=false
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.daemon=true
5 changes: 5 additions & 0 deletions examples/graal-native/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand All @@ -13,4 +15,7 @@ dependencyResolutionManagement {
mavenCentral()
}
}

apply(from = "../../gradle/gradle-enterprise.gradle")

rootProject.name = "graal-native"
5 changes: 5 additions & 0 deletions examples/hibernate/gradle.properties
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions examples/hibernate/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -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"
}

Expand All @@ -8,4 +10,6 @@ dependencyResolutionManagement {
}
}

apply(from = "../../gradle/gradle-enterprise.gradle")

rootProject.name = "hibernate"
5 changes: 5 additions & 0 deletions examples/resilience-failsafe/gradle.properties
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions examples/resilience-failsafe/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -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"
}

Expand All @@ -8,4 +10,6 @@ dependencyResolutionManagement {
}
}

apply(from = "../../gradle/gradle-enterprise.gradle")

rootProject.name = "resilience-failsafe"
5 changes: 5 additions & 0 deletions examples/write-behind-rxjava/gradle.properties
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions examples/write-behind-rxjava/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -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"
}

Expand All @@ -8,4 +10,6 @@ dependencyResolutionManagement {
}
}

apply(from = "../../gradle/gradle-enterprise.gradle")

rootProject.name = "writebehind-rxjava"

0 comments on commit 49fe2b2

Please sign in to comment.