brew_install_gradle

brew install gradle

macOS

Homebrew on macOS

brew search gradle

=⇒ Formulae

gradle gradle-profiler grace grails

gradle-completion gradle@6 gradio glade

=⇒ Casks

grads qlgradle

iMac ~ % brew install gradle

=⇒ Downloading https://ghcr.io/v2/homebrew/core/openjdk/17/manifests/17.0.5

=⇒ Downloading https://ghcr.io/v2/homebrew/core/openjdk/17/blobs/sha256:c1ac284

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh

=⇒ Downloading https://ghcr.io/v2/homebrew/core/gradle/manifests/7.5.1_1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/gradle/blobs/sha256:b8a590221ce

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh

=⇒ Installing dependencies for gradle: openjdk@17

=⇒ Installing gradle dependency: openjdk@17

=⇒ Pouring openjdk@17–17.0.5.monterey.bottle.tar.gz

🍺 /usr/local/Cellar/openjdk@17/17.0.5: 641 files, 305.9MB

=⇒ Installing gradle

=⇒ Pouring gradle–7.5.1_1.all.bottle.tar.gz

🍺 /usr/local/Cellar/gradle/7.5.1_1: 11,340 files, 276.1MB

=⇒ Running `brew cleanup gradle`…

Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.

Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

iMac ~ % gradle --version

Welcome to Gradle 7.5.1!

Here are the highlights of this release:

For more details see https://docs.gradle.org/7.5.1/release-notes.html


Gradle 7.5.1


Build time: 2022-08-05 21:17:56 UTC

Revision: d1daa0cbf1a0103000b71484e1dbfe096e095918

Kotlin: 1.6.21

Groovy: 3.0.10

Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021

JVM: 17.0.5 (Homebrew 17.0.5+0)

OS: Mac OS X 13.0 x86_64

iMac ~ % gradle --help

USAGE: gradle [option…] [task…]

-?, -h, –help Shows this help message. -a, –no-rebuild Do not rebuild project dependencies. -b, –build-file Specify the build file. [deprecated] –build-cache Enables the Gradle build cache. Gradle will try to reuse outputs from previous builds. -c, –settings-file Specify the settings file. [deprecated] –configuration-cache Enables the configuration cache. Gradle will try to reuse the build configuration from previous builds. [incubating] –configuration-cache-problems Configures how the configuration cache handles problems (fail or warn). Defaults to fail. [incubating] –configure-on-demand Configure necessary projects only. Gradle will attempt to reduce configuration time for large multi-project builds. [incubating] –console Specifies which type of console output to generate. Values are 'plain', 'auto' (default), 'rich' or 'verbose'. –continue Continue task execution after a task failure. -D, –system-prop Set system property of the JVM (e.g. -Dmyprop=myvalue). -d, –debug Log in debug mode (includes normal stacktrace). –daemon Uses the Gradle daemon to run the build. Starts the daemon if not running. –export-keys Exports the public keys used for dependency verification. -F, –dependency-verification Configures the dependency verification mode. Values are 'strict', 'lenient' or 'off'. –foreground Starts the Gradle daemon in the foreground. -g, –gradle-user-home Specifies the Gradle user home directory. Defaults to ~/.gradle -I, –init-script Specify an initialization script. -i, –info Set log level to info. –include-build Include the specified build in the composite. -M, –write-verification-metadata Generates checksums for dependencies used in the project (comma-separated list) -m, –dry-run Run the builds with all task actions disabled. –max-workers Configure the number of concurrent workers Gradle is allowed to use. –no-build-cache Disables the Gradle build cache. –no-configuration-cache Disables the configuration cache. [incubating] –no-configure-on-demand Disables the use of configuration on demand. [incubating] –no-daemon Do not use the Gradle daemon to run the build. Useful occasionally if you have configured Gradle to always run with the daemon by default. –no-parallel Disables parallel execution to build projects. –no-scan Disables the creation of a build scan. For more information about build scans, please visit https://gradle.com/build-scans. –no-watch-fs Disables watching the file system. –offline Execute the build without accessing network resources. -P, –project-prop Set project property for the build script (e.g. -Pmyprop=myvalue). -p, –project-dir Specifies the start directory for Gradle. Defaults to current directory. –parallel Build projects in parallel. Gradle will attempt to determine the optimal number of executor threads to use. –priority Specifies the scheduling priority for the Gradle daemon and all processes launched by it. Values are 'normal' (default) or 'low' –profile Profile build execution time and generates a report in the <build_dir>/reports/profile directory. –project-cache-dir Specify the project-specific cache directory. Defaults to .gradle in the root project directory. -q, –quiet Log errors only. –refresh-dependencies Refresh the state of dependencies. –refresh-keys Refresh the public keys used for dependency verification. –rerun-tasks Ignore previously cached task results. -S, –full-stacktrace Print out the full (very verbose) stacktrace for all exceptions. -s, –stacktrace Print out the stacktrace for all exceptions. –scan Creates a build scan. Gradle will emit a warning if the build scan plugin has not been applied. (https://gradle.com/build-scans) –status Shows status of running and recently stopped Gradle daemon(s). –stop Stops the Gradle daemon if it is running. -t, –continuous Enables continuous build. Gradle does not exit and will re-execute tasks when task file inputs change. –update-locks Perform a partial update of the dependency lock, letting passed in module notations change version. [incubating] -V, –show-version Print version info and continue. -v, –version Print version info and exit. -w, –warn Set log level to warn. –warning-mode Specifies which mode of warnings to generate. Values are 'all', 'fail', 'summary'(default) or 'none' –watch-fs Enables watching the file system for changes, allowing data about the file system to be re-used for the next build. –write-locks Persists dependency resolution for locked configurations, ignoring existing locking information if it exists -x, –exclude-task Specify a task to be excluded from execution.

Linux

Apache Gradle: Gradle Glossary, Maven Central, Gradle installation (sdk install gradle, choco install gradle, brew install gradle), choco install gradle, Build Tools, Package Managers and Dependency Management, Maven, Gradle GitHub, Awesome Gradle. (navbar_gradle - see also navbar_maven, navbar_package_manager)

Homebrew: Cloud Monk's Package Manager Book Homebrew Chapter, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, Homebrew Glossary, Homebrew Fundamentals, Homebrew Inventor - Homebrew Designer: Mike McQuaid, Brew DevOps - Homebrew on macOS - macOS DevOps - MacOps, Homebrew on Linux - Linux DevOps - LinuxOps, Homebrew Automation, Idempotent, Refreshenv, Homebrew Topics, macOS Package Managers, Package managers, macOS Configuration Management, PowerShell on macOS Ansible on macOS, Chef on macOS, Puppet on macOS (navbar_brew - see also navbar_choco, navbar_package_manager)


Cloud Monk is Retired (for now). Buddha with you. © 2005 - 2024 Losang Jinpa or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


macOS

Linux

brew_install_gradle.txt · Last modified: 2022/11/07 19:38 by 127.0.0.1