2021-04-09 15:28:18 -04:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
# The OpenSearch Contributors require contributions made to
|
|
|
|
# this file be licensed under the Apache-2.0 license or a
|
|
|
|
# compatible open source license.
|
|
|
|
#
|
|
|
|
# Modifications Copyright OpenSearch Contributors. See
|
|
|
|
# GitHub history for details.
|
|
|
|
#
|
|
|
|
|
2020-02-19 12:05:39 -05:00
|
|
|
org.gradle.warning.mode=none
|
2020-02-28 18:08:13 -05:00
|
|
|
org.gradle.parallel=true
|
2022-02-02 20:59:10 -05:00
|
|
|
org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Xss2m \
|
|
|
|
--add-exports jdk.compiler/com.sun.tools.javac.api=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.util=ALL-UNNAMED
|
2018-08-27 12:26:25 -04:00
|
|
|
options.forkOptions.memoryMaximumSize=2g
|
2020-02-19 16:41:50 -05:00
|
|
|
|
|
|
|
# Disable duplicate project id detection
|
|
|
|
# See https://docs.gradle.org/current/userguide/upgrading_version_6.html#duplicate_project_names_may_cause_publication_to_fail
|
|
|
|
systemProp.org.gradle.dependency.duplicate.project.detection=false
|
2020-07-20 02:52:30 -04:00
|
|
|
|
|
|
|
# Enforce the build to fail on deprecated gradle api usage
|
|
|
|
systemProp.org.gradle.warning.mode=fail
|
2020-10-19 11:52:48 -04:00
|
|
|
|
|
|
|
# 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
|
2021-04-20 10:02:45 -04:00
|
|
|
|
|
|
|
# jvm args for faster test execution by default
|
2021-12-16 17:57:22 -05:00
|
|
|
systemProp.tests.jvm.argline=-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m
|