Alan Viverette | e33f004 | 2021-11-17 16:49:53 -0500 | [diff] [blame] | 1 | org.gradle.jvmargs=-Xmx8g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dkotlin.daemon.jvm.options=-XX:MaxMetaspaceSize=1g -Dlint.nullness.ignore-deprecated=true |
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 | c0fef3a | 2021-10-12 15:07:05 -0700 | [diff] [blame] | 6 | # Disabled due to https://github.com/gradle/gradle/issues/18626 |
| 7 | # org.gradle.vfs.watch=true |
Aurimas Liutikas | 3ae82fa | 2021-09-23 09:19:23 -0700 | [diff] [blame] | 8 | org.gradle.dependency.verification.console=verbose |
Jeff Gaston | 96eb601 | 2021-09-27 14:55:36 +0000 | [diff] [blame] | 9 | org.gradle.unsafe.configuration-cache=true |
| 10 | org.gradle.unsafe.configuration-cache-problems=warn |
| 11 | org.gradle.unsafe.configuration-cache.max-problems=4000 |
Aurimas Liutikas | ac0e9fc | 2020-10-29 14:10:54 -0700 | [diff] [blame] | 12 | |
Aurimas Liutikas | 005dea0 | 2017-06-29 17:00:29 -0700 | [diff] [blame] | 13 | android.builder.sdkDownload=false |
Aurimas Liutikas | 28514e22 | 2020-06-01 16:20:08 +0000 | [diff] [blame] | 14 | android.uniquePackageNames=false |
Dustin Lam | f14ad35 | 2019-09-30 15:30:55 -0700 | [diff] [blame] | 15 | android.enableAdditionalTestOutput=true |
| 16 | android.useAndroidX=true |
Aurimas Liutikas | 2b1a09c | 2021-05-18 16:45:30 -0700 | [diff] [blame] | 17 | android.nonTransitiveRClass=true |
Aurimas Liutikas | 86144ee | 2021-06-22 10:32:15 -0700 | [diff] [blame] | 18 | android.disableAutomaticComponentCreation=true |
Jim Sproch | ea7bce4 | 2020-10-24 14:45:56 -0700 | [diff] [blame] | 19 | # Suppress pointless warning about mpp being experimental |
| 20 | kotlin.mpp.stability.nowarn=true |
Aurimas Liutikas | a737b42 | 2019-12-10 16:35:38 -0800 | [diff] [blame] | 21 | # Workaround for b/141364941 |
Aurimas Liutikas | d4fcb1c | 2019-12-17 15:50:11 -0800 | [diff] [blame] | 22 | android.forceJacocoOutOfProcess=true |
Alan Viverette | d62a184 | 2021-01-28 15:08:55 -0500 | [diff] [blame] | 23 | |
Alan Viverette | ac702b8 | 2021-07-30 14:20:02 -0400 | [diff] [blame] | 24 | # Generate versioned API files |
| 25 | androidx.writeVersionedApiFiles=true |
Aurimas Liutikas | 59d77d9 | 2020-03-27 17:29:44 -0700 | [diff] [blame] | 26 | |
| 27 | # Disable features we do not use |
| 28 | android.defaults.buildfeatures.aidl=false |
| 29 | android.defaults.buildfeatures.buildconfig=false |
| 30 | android.defaults.buildfeatures.renderscript=false |
| 31 | android.defaults.buildfeatures.resvalues=false |
Aurimas Liutikas | 33ebdb9 | 2020-08-17 08:53:12 -0700 | [diff] [blame] | 32 | android.defaults.buildfeatures.shaders=false |
| 33 | |
| 34 | # Do not automatically include stdlib |
| 35 | kotlin.stdlib.default.dependency=false |
Leland Richardson | e368cec | 2021-06-04 15:45:31 -0700 | [diff] [blame] | 36 | |
Jim Sproch | bcbd33a | 2022-01-12 14:45:37 -0800 | [diff] [blame] | 37 | # https://b.corp.google.com/issues/227307216 |
| 38 | kotlin.mpp.absentAndroidTarget.nowarn=true |
| 39 | |
Leland Richardson | e368cec | 2021-06-04 15:45:31 -0700 | [diff] [blame] | 40 | # Enable adding baseline-prof.txt files to AAR artifacts |
Jeff Gaston | 6239441 | 2021-07-30 13:47:34 -0400 | [diff] [blame] | 41 | android.experimental.enableArtProfiles=true |
| 42 | |
| 43 | # Disallow resolving dependencies at configuration time, which is a slight performance problem |
| 44 | android.dependencyResolutionAtConfigurationTime.disallow=true |
Aurimas Liutikas | fd7d214 | 2021-08-13 09:15:30 -0700 | [diff] [blame] | 45 | android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.dependencyResolutionAtConfigurationTime.disallow |
Aurimas Liutikas | ab45dbe | 2021-08-11 10:26:22 -0700 | [diff] [blame] | 46 | |
| 47 | # Workaround for b/162074215 |
Jim Sproch | 666614b | 2021-08-18 07:43:56 -0700 | [diff] [blame] | 48 | android.includeDependencyInfoInApks=false |
| 49 | |
| 50 | # Properties we often want to toggle |
| 51 | # ksp.version.check=false |
| 52 | # androidx.compose.multiplatformEnabled=true |
David Saff | 01ee51f | 2021-10-26 13:55:33 -0400 | [diff] [blame] | 53 | |
| 54 | # Do _not_ toggle or override unless you have read and understand this: |
| 55 | # https://blog.jetbrains.com/kotlin/2021/10/important-ua-parser-js-exploit-and-kotlin-js/ |
| 56 | androidx.kmp.js.enabled=false |