e64912e0c1eaa32181c3b5e5e4bf8042ecd0e8a7

Author
ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

chore(gradle): update to version d8bc301a (#13724)

Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>

Diff

This diff is truncated to protect this page.

  1diff --git a/.github/dependencies.yml b/.github/dependencies.yml
  2index 124c78eba0ef2f7dab86d63fb87cbc34362f8bd0..b59cf9ed02fee5e049188a70b049756db27ec3ca 100644
  3--- a/.github/dependencies.yml
  4+++ b/.github/dependencies.yml
  5@@ -12,7 +12,7 @@ dependencies:
  6   plugins/gradle:
  7     repo: gradle/gradle-completion
  8     branch: master
  9-    version: dd3a8adb47e51b1f6e4dc180cb04bd02d5fccd4a
 10+    version: d8bc301a1fdeed8dc1dd9675138e1d9b7ddc5e4e
 11     precopy: |
 12       set -e
 13       find . ! -name _gradle ! -name LICENSE -delete
 14diff --git a/plugins/gradle/_gradle b/plugins/gradle/_gradle
 15index 588f330113d83c859d6a08d4c1497ef411cf33e5..2dbb66df4a60392ea41b9b8f30fde227666358df 100644
 16--- a/plugins/gradle/_gradle
 17+++ b/plugins/gradle/_gradle
 18@@ -34,18 +34,16 @@ __gradle-set-build-file() {
 19 
 20     local default_gradle_build_file_name="build.gradle"
 21     if [[ -r $gradle_settings_file ]]; then
 22-        default_gradle_build_file_name=${$(grep "^rootProject\.buildFileName" $gradle_settings_file | \
 23+        local build_file_name=${$(grep "^rootProject\.buildFileName" $gradle_settings_file | \
 24             sed -n -e "s/rootProject\.buildFileName = [\'\"]\(.*\)[\'\"]/\1/p")}
 25 
 26-        default_gradle_build_file_name="${default_gradle_build_file:-build.gradle}"
 27+        default_gradle_build_file_name="${build_file_name:-build.gradle}"
 28     fi
 29 
 30-    local default_gradle_build_file="$project_root_dir/$default_gradle_build_file_name"
 31-    if [[ ! -f $default_gradle_build_file ]]; then
 32-        default_gradle_build_file="$project_root_dir/build.gradle.kts"
 33+    gradle_build_file="$project_root_dir/$default_gradle_build_file_name"
 34+    if [[ ! -f $gradle_build_file ]]; then
 35+        gradle_build_file="$project_root_dir/build.gradle.kts"
 36     fi
 37-
 38-    gradle_build_file=$default_gradle_build_file
 39 }
 40 
 41 __gradle-set-cache-name() {
 42@@ -214,6 +212,7 @@ __gradle_subcommand() {
 43                 '--dsl=[Set the build script DSL to be used in generated scripts.]' \
 44                 '--incubating[Allow the generated build to use new features and APIs.]' \
 45                 '--insecure-protocol=[How to handle insecure URLs used for Maven Repositories.]' \
 46+                '--into=[Set the directory where the project is generated.]' \
 47                 '--java-version=[Provides java version to use in the project.]' \
 48                 '--overwrite[Allow existing files in the build directory to be overwritten?]' \
 49                 '--package=[Set the package for source files.]' \
 50@@ -228,6 +227,7 @@ __gradle_subcommand() {
 51                 '--all[Show additional tasks and detail.]' \
 52                 '--group=[Show tasks for a specific group.]' \
 53                 '--groups=[Show tasks for specific groups (can be used multiple times to specify multiple groups).]' \
 54+                '--provenance[Show task provenance information]' \
 55                 '--types[Show task class types]' && ret=0
 56             ;;
 57         (test)
 58@@ -245,11 +245,15 @@ __gradle_subcommand() {
 59                 '--gradle-distribution-url=[The URL to download the Gradle distribution from.]' \
 60                 '--gradle-version=[The version of the Gradle distribution required by the wrapper. The following labels are allowed: latest, release-candidate, release-milestone, release-nightly, and nightly.]' \
 61                 '--network-timeout=[Timeout in ms to use when the wrapper is performing network operations.]' \
 62+                '--retries=[The number of download retries.]' \
 63+                '--retry-back-off-ms=[The initial back off in milliseconds between retries (doubles on each failure).]' \
 64                 '--validate-url[Sets task to validate the configured distribution url.]' && ret=0
 65             ;;
 66         (*)
 67             _arguments -C \
 68-                '-Dgradle.user.home=[Specifies the Gradle user home directory. Defaults to ~/.gradle]:gradle.user.home:_directories' \
 69+                '-Dcom.gradle.develocity.plugin.version=[Version of the Develocity plugin to auto-apply, must be 4.4.0 or higher if Develocity URL is specified as well.]' \
 70+                '-Dcom.gradle.develocity.url=[Default URL of the Develocity server to publish Build Scan to. Triggers auto-application of the Develocity plugin if not already applied.]' \
 71+                '-Dgradle.user.home=[Specifies the Gradle user home directory. Default is ~/.gradle.]:gradle.user.home:_directories' \
 72                 '-Dorg.gradle.caching.debug=[]' \
 73                 '-Dorg.gradle.caching=[Enables the Gradle build cache. Gradle will try to reuse outputs from previous builds.]:org.gradle.caching:(true false)' \
 74                 '-Dorg.gradle.configuration-cache.entries-per-key=[]' \
 75@@ -260,25 +264,25 @@ __gradle_subcommand() {
 76                 '-Dorg.gradle.configuration-cache.integrity-check=[]' \
 77                 '-Dorg.gradle.configuration-cache.max-problems=[]' \
 78                 '-Dorg.gradle.configuration-cache.parallel=[]' \
 79-                '-Dorg.gradle.configuration-cache.problems=[Configures how the configuration cache handles problems (fail or warn). Defaults to fail.]:org.gradle.configuration cache.problems:(fail warn)' \
 80+                '-Dorg.gradle.configuration-cache.problems=[Configures how the configuration cache handles problems (fail or warn). Supported values are 'warn', or 'fail' (default).]:org.gradle.configuration cache.problems:(fail warn)' \
 81                 '-Dorg.gradle.configuration-cache.read-only=[]' \
 82                 '-Dorg.gradle.configuration-cache.unsafe.ignore.unsupported-build-events-listeners=[]' \
 83                 '-Dorg.gradle.configuration-cache=[Enables the configuration cache. Gradle will try to reuse the build configuration from previous builds.]' \
 84-                '-Dorg.gradle.configureondemand=[Configure necessary projects only. Gradle will attempt to reduce configuration time for large multi-project builds.]' \
 85-                '-Dorg.gradle.console.unicode=[Specifies which character types are allowed in console output to generate. Values are 'auto' (default), 'disable' or 'enable'.]' \
 86-                '-Dorg.gradle.console=[Specifies which type of console output to generate. Values are 'plain', 'colored', 'auto' (default), 'rich' or 'verbose'.]:org.gradle.console:(plain auto rich verbose)' \
 87-                '-Dorg.gradle.continue=[Continue task execution after a task failure.]' \
 88+                '-Dorg.gradle.configureondemand=[Configures necessary projects only. Gradle will attempt to reduce configuration time for large multi-project builds.]' \
 89+                '-Dorg.gradle.console.unicode=[Specifies which character types are allowed in the console output. Supported values are 'auto' (default), 'disable', or 'enable'.]' \
 90+                '-Dorg.gradle.console=[Specifies which type of console output to generate. Supported values are 'plain', 'colored', 'auto' (default), 'rich', or 'verbose'.]:org.gradle.console:(plain auto rich verbose)' \
 91+                '-Dorg.gradle.continue=[Continues task execution after a task failure.]' \
 92                 '-Dorg.gradle.continuous.quietperiod=[]' \
 93                 '-Dorg.gradle.daemon.healthcheckinterval=[]' \
 94                 '-Dorg.gradle.daemon.idletimeout=[]' \
 95                 '-Dorg.gradle.daemon.registry.base=[]:org.gradle.daemon.registry.base:_directories' \
 96-                '-Dorg.gradle.daemon=[Uses the Gradle daemon to run the build. Starts the daemon if not running.]' \
 97+                '-Dorg.gradle.daemon=[Uses the Gradle daemon to run the build. Starts the daemon if it is not running.]' \
 98                 '-Dorg.gradle.debug.host=[]' \
 99                 '-Dorg.gradle.debug.port=[]' \
100                 '-Dorg.gradle.debug.server=[]' \
101                 '-Dorg.gradle.debug.suspend=[]' \
102                 '-Dorg.gradle.debug=[]:org.gradle.debug:(true false)' \
103-                '-Dorg.gradle.dependency.verification=[Configures the dependency verification mode. Values are 'strict', 'lenient' or 'off'.]:org.gradle.dependency.verification:(strict lenient off)' \
104+                '-Dorg.gradle.dependency.verification=[Configures the dependency verification mode. Supported values are 'strict', 'lenient', or 'off'.]:org.gradle.dependency.verification:(strict lenient off)' \
105                 '-Dorg.gradle.java.home=[]:org.gradle.java.home:_directories' \
106                 '-Dorg.gradle.java.installations.auto-detect=[]' \
107                 '-Dorg.gradle.java.installations.auto-download=[]' \
108@@ -289,71 +293,73 @@ __gradle_subcommand() {
109                 '-Dorg.gradle.logging.level=[]:org.gradle.logging.level:(quiet warn info debug)' \
110                 '-Dorg.gradle.logging.stacktrace=[]' \
111                 '-Dorg.gradle.native=[]' \
112-                '-Dorg.gradle.parallel=[Build projects in parallel. Gradle will attempt to determine the optimal number of executor threads to use.]:org.gradle.parallel:(true false)' \
113-                '-Dorg.gradle.priority=[Specifies the scheduling priority for the Gradle daemon and all processes launched by it. Values are 'normal' (default) or 'low']:org.gradle.priority:(normal low)' \
114-                '-Dorg.gradle.problems.report=[(Experimental) enables HTML problems report]' \
115-                '-Dorg.gradle.projectcachedir=[Specify the project-specific cache directory. Defaults to .gradle in the root project directory.]:org.gradle.projectcachedir:_directories' \
116+                '-Dorg.gradle.parallel=[Builds projects in parallel. Gradle will attempt to determine the optimal number of executor threads to use.]:org.gradle.parallel:(true false)' \
117+                '-Dorg.gradle.priority=[Specifies the scheduling priority for the Gradle daemon and all processes launched by it. Supported values are 'normal' (default) or 'low'.]:org.gradle.priority:(normal low)' \