[go: nahoru, domu]

blob: 23c272b2079200220560af52481cbde15832f185 [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 Liutikasc0fef3a2021-10-12 15:07:05 -07006# Disabled due to https://github.com/gradle/gradle/issues/18626
7# org.gradle.vfs.watch=true
Aurimas Liutikas3ae82fa2021-09-23 09:19:23 -07008org.gradle.dependency.verification.console=verbose
Jeff Gaston96eb6012021-09-27 14:55:36 +00009org.gradle.unsafe.configuration-cache=true
10org.gradle.unsafe.configuration-cache-problems=warn
11org.gradle.unsafe.configuration-cache.max-problems=4000
Aurimas Liutikasac0e9fc2020-10-29 14:10:54 -070012
Aurimas Liutikas005dea02017-06-29 17:00:29 -070013android.builder.sdkDownload=false
Aurimas Liutikas28514e222020-06-01 16:20:08 +000014android.uniquePackageNames=false
Dustin Lamf14ad352019-09-30 15:30:55 -070015android.enableAdditionalTestOutput=true
16android.useAndroidX=true
Aurimas Liutikas2b1a09c2021-05-18 16:45:30 -070017android.nonTransitiveRClass=true
Aurimas Liutikas86144ee2021-06-22 10:32:15 -070018android.disableAutomaticComponentCreation=true
Jim Sprochea7bce42020-10-24 14:45:56 -070019# Suppress pointless warning about mpp being experimental
20kotlin.mpp.stability.nowarn=true
Aurimas Liutikasa737b422019-12-10 16:35:38 -080021# Workaround for b/141364941
Aurimas Liutikasd4fcb1c2019-12-17 15:50:11 -080022android.forceJacocoOutOfProcess=true
Alan Viveretted62a1842021-01-28 15:08:55 -050023
Alan Viveretteac702b82021-07-30 14:20:02 -040024# Generate versioned API files
25androidx.writeVersionedApiFiles=true
Aurimas Liutikas59d77d92020-03-27 17:29:44 -070026
27# Disable features we do not use
28android.defaults.buildfeatures.aidl=false
29android.defaults.buildfeatures.buildconfig=false
30android.defaults.buildfeatures.renderscript=false
31android.defaults.buildfeatures.resvalues=false
Aurimas Liutikas33ebdb92020-08-17 08:53:12 -070032android.defaults.buildfeatures.shaders=false
33
34# Do not automatically include stdlib
35kotlin.stdlib.default.dependency=false
Leland Richardsone368cec2021-06-04 15:45:31 -070036
Jim Sprochbcbd33a2022-01-12 14:45:37 -080037# https://b.corp.google.com/issues/227307216
38kotlin.mpp.absentAndroidTarget.nowarn=true
39
Leland Richardsone368cec2021-06-04 15:45:31 -070040# Enable adding baseline-prof.txt files to AAR artifacts
Jeff Gaston62394412021-07-30 13:47:34 -040041android.experimental.enableArtProfiles=true
42
43# Disallow resolving dependencies at configuration time, which is a slight performance problem
44android.dependencyResolutionAtConfigurationTime.disallow=true
Aurimas Liutikasfd7d2142021-08-13 09:15:30 -070045android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.dependencyResolutionAtConfigurationTime.disallow
Aurimas Liutikasab45dbe2021-08-11 10:26:22 -070046
47# Workaround for b/162074215
Jim Sproch666614b2021-08-18 07:43:56 -070048android.includeDependencyInfoInApks=false
49
50# Properties we often want to toggle
51# ksp.version.check=false
52# androidx.compose.multiplatformEnabled=true
David Saff01ee51f2021-10-26 13:55:33 -040053
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/
56androidx.kmp.js.enabled=false