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 | b5a2e52 | 2022-04-22 14:18:27 -0700 | [diff] [blame] | 6 | org.gradle.welcome=never |
Aurimas Liutikas | c0fef3a | 2021-10-12 15:07:05 -0700 | [diff] [blame] | 7 | # Disabled due to https://github.com/gradle/gradle/issues/18626 |
| 8 | # org.gradle.vfs.watch=true |
Aurimas Liutikas | 3ae82fa | 2021-09-23 09:19:23 -0700 | [diff] [blame] | 9 | org.gradle.dependency.verification.console=verbose |
Jeff Gaston | 96eb601 | 2021-09-27 14:55:36 +0000 | [diff] [blame] | 10 | org.gradle.unsafe.configuration-cache=true |
| 11 | org.gradle.unsafe.configuration-cache-problems=warn |
| 12 | org.gradle.unsafe.configuration-cache.max-problems=4000 |
Aurimas Liutikas | ac0e9fc | 2020-10-29 14:10:54 -0700 | [diff] [blame] | 13 | |
Aurimas Liutikas | 005dea0 | 2017-06-29 17:00:29 -0700 | [diff] [blame] | 14 | android.builder.sdkDownload=false |
Aurimas Liutikas | 28514e22 | 2020-06-01 16:20:08 +0000 | [diff] [blame] | 15 | android.uniquePackageNames=false |
Dustin Lam | f14ad35 | 2019-09-30 15:30:55 -0700 | [diff] [blame] | 16 | android.enableAdditionalTestOutput=true |
| 17 | android.useAndroidX=true |
Aurimas Liutikas | 2b1a09c | 2021-05-18 16:45:30 -0700 | [diff] [blame] | 18 | android.nonTransitiveRClass=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 |
Aurimas Liutikas | 0ededfb | 2022-04-11 21:25:00 -0700 | [diff] [blame] | 21 | android.experimental.lint.missingBaselineIsEmptyBaseline=true |
Alan Viverette | d62a184 | 2021-01-28 15:08:55 -0500 | [diff] [blame] | 22 | |
| 23 | # Don't generate versioned API files |
Alan Viverette | ac702b8 | 2021-07-30 14:20:02 -0400 | [diff] [blame] | 24 | androidx.writeVersionedApiFiles=true |
Aurimas Liutikas | 59d77d9 | 2020-03-27 17:29:44 -0700 | [diff] [blame] | 25 | |
Alan Viverette | 7574792 | 2021-11-09 17:50:49 +0000 | [diff] [blame] | 26 | # Don't warn about needing to update AGP |
Alan Viverette | a01bd80 | 2022-06-03 16:32:34 -0400 | [diff] [blame] | 27 | android.suppressUnsupportedCompileSdk=Tiramisu,33 |
Alan Viverette | 7574792 | 2021-11-09 17:50:49 +0000 | [diff] [blame] | 28 | |
Aurimas Liutikas | 59d77d9 | 2020-03-27 17:29:44 -0700 | [diff] [blame] | 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 |
Aurimas Liutikas | 33ebdb9 | 2020-08-17 08:53:12 -0700 | [diff] [blame] | 34 | android.defaults.buildfeatures.shaders=false |
| 35 | |
Leland Richardson | e368cec | 2021-06-04 15:45:31 -0700 | [diff] [blame] | 36 | # Enable adding baseline-prof.txt files to AAR artifacts |
Jeff Gaston | 6239441 | 2021-07-30 13:47:34 -0400 | [diff] [blame] | 37 | android.experimental.enableArtProfiles=true |
| 38 | |
| 39 | # Disallow resolving dependencies at configuration time, which is a slight performance problem |
| 40 | android.dependencyResolutionAtConfigurationTime.disallow=true |
Aurimas Liutikas | 0ededfb | 2022-04-11 21:25:00 -0700 | [diff] [blame] | 41 | android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.dependencyResolutionAtConfigurationTime.disallow,android.experimental.lint.missingBaselineIsEmptyBaseline |
Aurimas Liutikas | ab45dbe | 2021-08-11 10:26:22 -0700 | [diff] [blame] | 42 | # Workaround for b/162074215 |
Jim Sproch | 666614b | 2021-08-18 07:43:56 -0700 | [diff] [blame] | 43 | android.includeDependencyInfoInApks=false |
| 44 | |
Aurimas Liutikas | 84d086e | 2022-09-29 13:24:04 -0700 | [diff] [blame] | 45 | kotlin.stdlib.default.dependency=false |
| 46 | # mac targets cannot be built on linux, suppress the warning. |
| 47 | kotlin.native.ignoreDisabledTargets=true |
| 48 | kotlin.mpp.enableCInteropCommonization=true |
| 49 | # Suppress pointless warning about mpp being experimental |
| 50 | kotlin.mpp.stability.nowarn=true |
| 51 | # b/227307216 |
| 52 | kotlin.mpp.absentAndroidTarget.nowarn=true |
Jim Sproch | 0507f65 | 2022-08-03 05:04:31 -0700 | [diff] [blame] | 53 | # As of October 3 2022, AGP 7.4.0-alpha08 is higher than AGP 7.3 |
| 54 | # Presumably complains if using a non-stable AGP, which we are regularly doing to test pre-stable. |
| 55 | kotlin.mpp.androidGradlePluginCompatibility.nowarn=true |
Aurimas Liutikas | 84d086e | 2022-09-29 13:24:04 -0700 | [diff] [blame] | 56 | |
Jim Sproch | 666614b | 2021-08-18 07:43:56 -0700 | [diff] [blame] | 57 | # Properties we often want to toggle |
| 58 | # ksp.version.check=false |
| 59 | # androidx.compose.multiplatformEnabled=true |