Aurimas Liutikas | 50cc28c | 2020-09-24 11:57:10 -0700 | [diff] [blame] | 1 | org.gradle.jvmargs=-Xmx8g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC |
Yigit Boyar | f77697d | 2016-08-16 10:55:36 -0700 | [diff] [blame] | 2 | org.gradle.daemon=true |
Aurimas Liutikas | 59e5b6f9 | 2017-08-23 10:11:32 -0700 | [diff] [blame] | 3 | org.gradle.configureondemand=true |
Aurimas Liutikas | a64f1ce | 2018-05-18 11:29:03 -0700 | [diff] [blame] | 4 | org.gradle.parallel=true |
Aurimas Liutikas | d9950fa | 2018-05-23 03:08:26 +0000 | [diff] [blame] | 5 | org.gradle.caching=true |
Aurimas Liutikas | ac0e9fc | 2020-10-29 14:10:54 -0700 | [diff] [blame] | 6 | org.gradle.vfs.watch=true |
| 7 | |
Aurimas Liutikas | 005dea0 | 2017-06-29 17:00:29 -0700 | [diff] [blame] | 8 | android.builder.sdkDownload=false |
Aurimas Liutikas | 28514e22 | 2020-06-01 16:20:08 +0000 | [diff] [blame] | 9 | android.uniquePackageNames=false |
Dustin Lam | f14ad35 | 2019-09-30 15:30:55 -0700 | [diff] [blame] | 10 | android.enableAdditionalTestOutput=true |
| 11 | android.useAndroidX=true |
Aurimas Liutikas | 2b1a09c | 2021-05-18 16:45:30 -0700 | [diff] [blame] | 12 | android.nonTransitiveRClass=true |
Aurimas Liutikas | 86144ee | 2021-06-22 10:32:15 -0700 | [diff] [blame] | 13 | android.disableAutomaticComponentCreation=true |
Aurimas Liutikas | a737b42 | 2019-12-10 16:35:38 -0800 | [diff] [blame] | 14 | # Run multiple kotlin compilations in parallel within the same project. |
| 15 | # See also https://github.com/JetBrains/kotlin/blob/1978db9d0e68a2ec29aded30a07e9c3c740c29f6/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/KotlinProperties.kt#L100 and https://blog.jetbrains.com/kotlin/2019/01/kotlin-1-3-20-released/ |
Jeff Gaston | 9c484ec | 2019-11-07 15:18:41 -0500 | [diff] [blame] | 16 | kotlin.parallel.tasks.in.project=true |
Jim Sproch | ea7bce4 | 2020-10-24 14:45:56 -0700 | [diff] [blame] | 17 | # Suppress pointless warning about mpp being experimental |
| 18 | kotlin.mpp.stability.nowarn=true |
Aurimas Liutikas | a737b42 | 2019-12-10 16:35:38 -0800 | [diff] [blame] | 19 | # Workaround for b/141364941 |
Aurimas Liutikas | d4fcb1c | 2019-12-17 15:50:11 -0800 | [diff] [blame] | 20 | android.forceJacocoOutOfProcess=true |
Alan Viverette | 6f347d7 | 2020-06-10 17:36:22 -0400 | [diff] [blame] | 21 | androidx.writeVersionedApiFiles=true |
Aurimas Liutikas | 59d77d9 | 2020-03-27 17:29:44 -0700 | [diff] [blame] | 22 | |
| 23 | # Disable features we do not use |
| 24 | android.defaults.buildfeatures.aidl=false |
| 25 | android.defaults.buildfeatures.buildconfig=false |
| 26 | android.defaults.buildfeatures.renderscript=false |
| 27 | android.defaults.buildfeatures.resvalues=false |
Aurimas Liutikas | 33ebdb9 | 2020-08-17 08:53:12 -0700 | [diff] [blame] | 28 | android.defaults.buildfeatures.shaders=false |
| 29 | |
| 30 | # Do not automatically include stdlib |
| 31 | kotlin.stdlib.default.dependency=false |
Leland Richardson | e368cec | 2021-06-04 15:45:31 -0700 | [diff] [blame] | 32 | |
| 33 | # Enable adding baseline-prof.txt files to AAR artifacts |
Scott Pollom | 523801b2f7 | 2021-06-09 21:48:11 +0000 | [diff] [blame] | 34 | android.experimental.enableArtProfiles=true |