#
#
#    ******************************************************************************
#    *
#    * This program and the accompanying materials are made available under the
#    * terms of the Apache License, Version 2.0 which is available at
#    * https://www.apache.org/licenses/LICENSE-2.0.
#    *
#    *  See the NOTICE file distributed with this work for additional
#    *  information regarding copyright ownership.
#    * Unless required by applicable law or agreed to in writing, software
#    * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    * License for the specific language governing permissions and limitations
#    * under the License.
#    *
#    * SPDX-License-Identifier: Apache-2.0
#    *****************************************************************************
#
#
systemProp.org.gradle.internal.publish.checksums.insecure=true

# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.

#for whatever reason we had to add MaxMetaspace and file encoding = utf8, gradle crashed otherwise
org.gradle.jvmargs=-Xmx8192m -XX:MaxMetaspaceSize=768m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:ErrorFile=/var/log/java/hs_err_pid%p.log


# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true