[go: nahoru, domu]

blob: c17e4a1687eb773368edb424e3313652b603f4c5 [file] [log] [blame]
Alan Viverettee33f0042021-11-17 16:49:53 -05001org.gradle.jvmargs=-Xmx8g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dkotlin.daemon.jvm.options=-XX:MaxMetaspaceSize=1g -Dlint.nullness.ignore-deprecated=true
Yigit Boyarf77697d2016-08-16 10:55:36 -07002org.gradle.daemon=true
Aurimas Liutikas59e5b6f92017-08-23 10:11:32 -07003org.gradle.configureondemand=true
Aurimas Liutikasa64f1ce2018-05-18 11:29:03 -07004org.gradle.parallel=true
Aurimas Liutikasd9950fa2018-05-23 03:08:26 +00005org.gradle.caching=true
Aurimas Liutikasb5a2e522022-04-22 14:18:27 -07006org.gradle.welcome=never
Aurimas Liutikasc0fef3a2021-10-12 15:07:05 -07007# Disabled due to https://github.com/gradle/gradle/issues/18626
8# org.gradle.vfs.watch=true
Aurimas Liutikas3ae82fa2021-09-23 09:19:23 -07009org.gradle.dependency.verification.console=verbose
Jeff Gaston96eb6012021-09-27 14:55:36 +000010org.gradle.unsafe.configuration-cache=true
11org.gradle.unsafe.configuration-cache-problems=warn
12org.gradle.unsafe.configuration-cache.max-problems=4000
Aurimas Liutikasac0e9fc2020-10-29 14:10:54 -070013
Aurimas Liutikas005dea02017-06-29 17:00:29 -070014android.builder.sdkDownload=false
Aurimas Liutikas28514e222020-06-01 16:20:08 +000015android.uniquePackageNames=false
Dustin Lamf14ad352019-09-30 15:30:55 -070016android.enableAdditionalTestOutput=true
17android.useAndroidX=true
Aurimas Liutikas2b1a09c2021-05-18 16:45:30 -070018android.nonTransitiveRClass=true
Aurimas Liutikas86144ee2021-06-22 10:32:15 -070019android.disableAutomaticComponentCreation=true
Jim Sprochea7bce42020-10-24 14:45:56 -070020# Suppress pointless warning about mpp being experimental
21kotlin.mpp.stability.nowarn=true
Aurimas Liutikasa737b422019-12-10 16:35:38 -080022# Workaround for b/141364941
Aurimas Liutikasd4fcb1c2019-12-17 15:50:11 -080023android.forceJacocoOutOfProcess=true
Aurimas Liutikas0ededfb2022-04-11 21:25:00 -070024android.experimental.lint.missingBaselineIsEmptyBaseline=true
Alan Viveretted62a1842021-01-28 15:08:55 -050025
26# Don't generate versioned API files
Alan Viveretteac702b82021-07-30 14:20:02 -040027androidx.writeVersionedApiFiles=true
Aurimas Liutikas59d77d92020-03-27 17:29:44 -070028
Alan Viverette75747922021-11-09 17:50:49 +000029# Don't warn about needing to update AGP
Alan Viverettea01bd802022-06-03 16:32:34 -040030android.suppressUnsupportedCompileSdk=Tiramisu,33
Alan Viverette75747922021-11-09 17:50:49 +000031
Aurimas Liutikas59d77d92020-03-27 17:29:44 -070032# Disable features we do not use
33android.defaults.buildfeatures.aidl=false
34android.defaults.buildfeatures.buildconfig=false
35android.defaults.buildfeatures.renderscript=false
36android.defaults.buildfeatures.resvalues=false
Aurimas Liutikas33ebdb92020-08-17 08:53:12 -070037android.defaults.buildfeatures.shaders=false
38
39# Do not automatically include stdlib
40kotlin.stdlib.default.dependency=false
Leland Richardsone368cec2021-06-04 15:45:31 -070041
Jim Sprochbcbd33a2022-01-12 14:45:37 -080042# https://b.corp.google.com/issues/227307216
43kotlin.mpp.absentAndroidTarget.nowarn=true
44
Leland Richardsone368cec2021-06-04 15:45:31 -070045# Enable adding baseline-prof.txt files to AAR artifacts
Jeff Gaston62394412021-07-30 13:47:34 -040046android.experimental.enableArtProfiles=true
47
48# Disallow resolving dependencies at configuration time, which is a slight performance problem
49android.dependencyResolutionAtConfigurationTime.disallow=true
Aurimas Liutikas0ededfb2022-04-11 21:25:00 -070050android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.dependencyResolutionAtConfigurationTime.disallow,android.experimental.lint.missingBaselineIsEmptyBaseline
Aurimas Liutikasab45dbe2021-08-11 10:26:22 -070051# Workaround for b/162074215
Jim Sproch666614b2021-08-18 07:43:56 -070052android.includeDependencyInfoInApks=false
53
54# Properties we often want to toggle
55# ksp.version.check=false
56# androidx.compose.multiplatformEnabled=true
David Saff01ee51f2021-10-26 13:55:33 -040057
Yigit Boyar04236ae2022-05-10 23:48:24 -070058kotlin.mpp.enableCInteropCommonization=true
Yigit Boyarf08b9a02022-06-02 09:16:59 -070059
60# mac targets cannot be built on linux, suppress the warning.
61kotlin.native.ignoreDisabledTargets=true