Skip to content

Instantly share code, notes, and snippets.

@adrianoluis
Created November 29, 2023 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianoluis/c46bee5bacb1bf204aa1806569618939 to your computer and use it in GitHub Desktop.
Save adrianoluis/c46bee5bacb1bf204aa1806569618939 to your computer and use it in GitHub Desktop.
Gradle User gradle.properties
# When set to true, Gradle will reuse task outputs from any previous build when possible, resulting in much faster builds.
#
# Default is false# the build cache is not enabled.
#org.gradle.caching=false
# When set to true, individual input property hashes and the build cache key for each task are logged on the console.
#
# Default is false.
#org.gradle.caching.debug=false
# Enables configuration caching. Gradle will try to reuse the build configuration from previous builds.
#
# Default is false.
#org.gradle.configuration-cache=false
# Used to exclude file system checks on the specified path from configuration cache inputs fingerprinting.
#
# Default is null.
#org.gradle.configuration-cache.inputs.unsafe.ignore.file-system-checks=
# Used to ignore inputs in task graph serialization.
#
# Default is false.
#org.gradle.configuration-cache.inputs.unsafe.ignore.in-serialization=false
# Configures how the configuration cache handles problems.
#
# Set to warn to report problems without failing the build.
#
# Set to fail to report problems and fail the build if there are any problems.
#
# Default is fail.
#org.gradle.configuration-cache.problems=fail
# Configures the maximum number of configuration cache problems allowed as warnings until Gradle fails the build.
#
# Default is 512.
#org.gradle.configuration-cache.max-problems=512
# Enables incubating configuration on demand, where Gradle will attempt to configure only necessary projects.
#
# Default is false.
#org.gradle.configureondemand=false
# Customize console output coloring or verbosity.
#
# Default depends on how Gradle is invoked.
#org.gradle.console=
# If enabled, continue task execution after a task failure, else stop task execution after a task failure.
#
# Default is false.
#org.gradle.continue=false
# When using continuous build, Gradle will wait for the quiet period to pass before triggering another build. Any additional changes within this quiet period restart the quiet period countdown.
#
# Default is 250 milliseconds.
#org.gradle.continuous.quietperiod=250
# When set to true the Gradle Daemon is used to run the build.
#
# Default is true.
#org.gradle.daemon=true
# Gradle Daemon health will be checked after a specified number of milliseconds.
#
# Default is 10000# (10 secs).
#org.gradle.daemon.healthcheckinterval=10000
# Gradle Daemon will terminate itself after a specified number of idle milliseconds.
#
# Default is 10800000 (3 hours).
#org.gradle.daemon.idletimeout=10800000
# Specify a Daemon registry path where the daemon registry file (addresses of active daemons) and daemon log files reside.
#
# Default is . (local directory).
#org.gradle.daemon.registry.base=.
# When set to true, Gradle will run the build with remote debugging enabled, listening on port 5005. Note that this is equivalent to adding -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 to the JVM command line and will suspend the virtual machine until a debugger is attached.
#
# Default is false.
#org.gradle.debug=false
# Specifies the host address to listen on or connect to when debug is enabled. In the server mode on Java 9 and above, passing * for the host will make the server listen on all network interfaces.
#
# Default is null# no host address is passed to JDWP (on Java 9 and above, the loopback address is used, while earlier versions listen on all interfaces).
#org.gradle.debug.host=
# Specifies the port number to listen on when debug is enabled.
#
# Default is 5005.
#org.gradle.debug.port=5005
# If set to true and debugging is enabled, Gradle will run the build with the socket-attach mode of the debugger. Otherwise, the socket-listen mode is used.
#
# Default is true.
#org.gradle.debug.server=true
# When set to true and debugging is enabled, the JVM running Gradle will suspend until a debugger is attached.
#
# Default is true.
#org.gradle.debug.suspend=true
# Configures the dependency verification mode where in strict mode verification fails as early as possible, in order to avoid the use of compromised dependencies during the build.
#
# Default is strict.
#org.gradle.dependency.verification=strict
# Enables the instrumentation Java agent for the daemon.
#
# Default is true.
#org.gradle.internal.instrumentation.agent=true
# Specifies the Java home for the Gradle build process. The value can be set to either a jdk or jre location# however, depending on what your build does, using a JDK is safer. This does not affect the version of Java used to launch the Gradle client VM.
#
# Default is derived from your environment (JAVA_HOME or the path to java) if the setting is unspecified.
#org.gradle.java.home=
# Specifies the JVM arguments used for the Gradle Daemon. The setting is particularly useful for configuring JVM memory settings for build performance. This does not affect the JVM settings for the Gradle client VM.
#
# Default is -Xmx512m "-XX:MaxMetaspaceSize=384m".
#org.gradle.jvmargs=-Xmx512m "-XX:MaxMetaspaceSize=384m"
# When set to quiet, warn, info, or debug, Gradle will use this log level. The values are not case-sensitive.
#
# Default is lifecycle level.
#org.gradle.logging.level=
# Specifies whether stacktraces should be displayed as part of the build result upon an exception. See the --stacktrace command-line option for additional information.
#
# When set to internal, a stacktrace is present in the output only in case of internal exceptions.
#
# When set to all or full, a stacktrace is present in the output for all exceptions and build failures.
#
# Using full doesn’t truncate the stacktrace, which leads to a much more verbose output.
#
# Default is internal.
#org.gradle.logging.stacktrace=internal
# When configured, Gradle will fork up to #org.gradle.workers.max JVMs to execute projects in parallel.
#
# Default is false.
#org.gradle.parallel=false
# Specifies the scheduling priority for the Gradle daemon and all processes launched by it.
#
# Default is normal.
#org.gradle.priority=normal
# Specify the project-specific cache directory. Defaults to .gradle in the root project directory."
#
# Default is .gradle.
#org.gradle.projectcachedir=.gradle
# Enables project isolation which enables configuration caching.
#
# Default is false.
#org.gradle.unsafe.isolated-projects=false
# Configures verbose logging when watching the file system.
#
# Default is false.
#org.gradle.vfs.verbose=false
# Toggles watching the file system. When enabled, Gradle reuses information it collects about the file system between builds.
#
# Default is true on operating systems where Gradle supports this feature.
#org.gradle.vfs.watch=
# Enables debug events emitted in native-platform to be shown. Events are only shown when --debug is enabled or when the daemon is between builds.
#
# Default is false.
#org.gradle.vfs.watch.debug=false
# When set to all, summary or none, Gradle will use different warning type display.
#
# Default is summary.
#org.gradle.warning.mode=summary
# Controls whether Gradle should print a welcome message.
#
# If set to never, then the welcome message will be suppressed.
#
# If set to once, then the message is printed once for each new version of Gradle.
#
# Default is once.
#org.gradle.welcome=once
# When configured, Gradle will use a maximum of the given number of workers.
#
# Default is the number of CPU processors.
#org.gradle.workers.max=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment