[go: nahoru, domu]

blob: 13e99b2b4e1f53892b829badb1683f037447d75f [file] [log] [blame]
Yigit Boyara4abb182020-07-31 21:44:05 -07001#
2# Copyright 2020 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# Properties that are copied from main properties file
18# We set playground properties in two steps:
19# * This file is linked into gradle.properties under the project and limited to
20# just copying properties from the androidx properties file without any change.
21# Its integrity is validated as part of the buildOnServer task in AndroidX.
22# (validatePlaygroundGradleProperties task)
23# * Additional settings are in playground.properties which are loaded dynamically
24# This separation is necessary to ensure gradle can read certain properties
25# at configuration time.
26
Aurimas1d002fb2022-02-22 23:18:00 +000027org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -XX:MaxMetaspaceSize=512m -Dkotlin.daemon.jvm.options=-XX:MaxMetaspaceSize=1g -Dlint.nullness.ignore-deprecated=true
Yigit Boyara4abb182020-07-31 21:44:05 -070028android.useAndroidX=true
29# Disable features we do not use
30android.defaults.buildfeatures.aidl=false
31android.defaults.buildfeatures.buildconfig=false
32android.defaults.buildfeatures.renderscript=false
33android.defaults.buildfeatures.resvalues=false
34android.defaults.buildfeatures.shaders=false
Aurimas Liutikas8df0ecc2021-11-02 13:26:16 -070035android.disableAutomaticComponentCreation=true
36
37org.gradle.configureondemand=true
38org.gradle.parallel=true
39org.gradle.caching=true
40# Disabled due to https://github.com/gradle/gradle/issues/18626
41# org.gradle.vfs.watch=true
42org.gradle.unsafe.configuration-cache=true
43org.gradle.unsafe.configuration-cache-problems=warn
Yigit Boyarc07a6522022-01-27 21:55:09 +000044org.gradle.unsafe.configuration-cache.max-problems=4000