1# Copyright (C) 2023 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# Project-wide Gradle settings.
16
17# IDE (e.g. Android Studio) users:
18# Gradle settings configured through the IDE *will override*
19# any settings specified in this file.
20
21# For more details on how to configure your build environment visit
22# http://www.gradle.org/docs/current/userguide/build_environment.html
23
24# Specifies the JVM arguments used for the daemon process.
25# The setting is particularly useful for tweaking memory settings.
26# Default value: -Xmx10248m -XX:MaxPermSize=256m
27# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
28
29# When configured, Gradle will run in incubating parallel mode.
30# This option should only be used with decoupled projects. More details, visit
31# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
32# Convert third-party libraries to use AndroidX
33android.useAndroidX=true
34android.enableJetifier=true
35