mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-17 20:05:09 -04:00
* [IDEA] Enable Gradle Configuration Cache for Gradle Runner This should speedup repetitives usages of the Gradle Runner for the majority of test executions We added a flag to disable it explicitly if it does not work for certain scenarios
24 lines
1.3 KiB
Properties
24 lines
1.3 KiB
Properties
org.gradle.welcome=never
|
|
org.gradle.warning.mode=none
|
|
org.gradle.parallel=true
|
|
# We need to declare --add-exports to make spotless working seamlessly with jdk16
|
|
org.gradle.jvmargs=-XX:+HeapDumpOnOutOfMemoryError -Xss2m --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED
|
|
|
|
# Enforce the build to fail on deprecated gradle api usage
|
|
systemProp.org.gradle.warning.mode=fail
|
|
|
|
# forcing to use TLS1.2 to avoid failure in vault
|
|
# see https://github.com/hashicorp/vault/issues/8750#issuecomment-631236121
|
|
systemProp.jdk.tls.client.protocols=TLSv1.2
|
|
|
|
# java homes resolved by environment variables
|
|
org.gradle.java.installations.auto-detect=false
|
|
|
|
# log some dependency verification info to console
|
|
org.gradle.dependency.verification.console=verbose
|
|
|
|
# allow user to specify toolchain via the RUNTIME_JAVA_HOME environment variable
|
|
org.gradle.java.installations.fromEnv=RUNTIME_JAVA_HOME
|
|
|
|
# if configuration cache enabled then enable parallel support too
|
|
org.gradle.configuration-cache.parallel=true
|