Yigit Boyar | a4abb18 | 2020-07-31 21:44:05 -0700 | [diff] [blame] | 1 | # |
| 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 | |
Yigit Boyar | e235ba8 | 2022-01-11 04:17:44 +0000 | [diff] [blame] | 27 | org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dkotlin.daemon.jvm.options=-XX:MaxMetaspaceSize=1g -Dlint.nullness.ignore-deprecated=true |
Yigit Boyar | a4abb18 | 2020-07-31 21:44:05 -0700 | [diff] [blame] | 28 | android.useAndroidX=true |
| 29 | # Disable features we do not use |
| 30 | android.defaults.buildfeatures.aidl=false |
| 31 | android.defaults.buildfeatures.buildconfig=false |
| 32 | android.defaults.buildfeatures.renderscript=false |
| 33 | android.defaults.buildfeatures.resvalues=false |
| 34 | android.defaults.buildfeatures.shaders=false |
Aurimas Liutikas | 8df0ecc | 2021-11-02 13:26:16 -0700 | [diff] [blame] | 35 | android.disableAutomaticComponentCreation=true |
| 36 | |
| 37 | org.gradle.configureondemand=true |
| 38 | org.gradle.parallel=true |
| 39 | org.gradle.caching=true |
| 40 | # Disabled due to https://github.com/gradle/gradle/issues/18626 |
| 41 | # org.gradle.vfs.watch=true |
| 42 | org.gradle.unsafe.configuration-cache=true |
| 43 | org.gradle.unsafe.configuration-cache-problems=warn |
Yigit Boyar | c07a652 | 2022-01-27 21:55:09 +0000 | [diff] [blame] | 44 | org.gradle.unsafe.configuration-cache.max-problems=4000 |