[go: nahoru, domu]

blob: c44b094ceed0e76e89524ff76400deb651b64fde [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
Jeff Gaston96eb6012021-09-27 14:55:36 +00008org.gradle.unsafe.configuration-cache=true
9org.gradle.unsafe.configuration-cache-problems=warn
10org.gradle.unsafe.configuration-cache.max-problems=4000
Aurimas Liutikasac0e9fc2020-10-29 14:10:54 -070011
Aurimas Liutikas005dea02017-06-29 17:00:29 -070012android.builder.sdkDownload=false
Aurimas Liutikas28514e222020-06-01 16:20:08 +000013android.uniquePackageNames=false
Dustin Lamf14ad352019-09-30 15:30:55 -070014android.enableAdditionalTestOutput=true
15android.useAndroidX=true
Aurimas Liutikas2b1a09c2021-05-18 16:45:30 -070016android.nonTransitiveRClass=true
Aurimas Liutikas86144ee2021-06-22 10:32:15 -070017android.disableAutomaticComponentCreation=true
Jim Sprochea7bce42020-10-24 14:45:56 -070018# Suppress pointless warning about mpp being experimental
19kotlin.mpp.stability.nowarn=true
Aurimas Liutikasa737b422019-12-10 16:35:38 -080020# Workaround for b/141364941
Aurimas Liutikasd4fcb1c2019-12-17 15:50:11 -080021android.forceJacocoOutOfProcess=true
Alan Viveretted62a1842021-01-28 15:08:55 -050022
Alan Viveretteac702b82021-07-30 14:20:02 -040023# Generate versioned API files
24androidx.writeVersionedApiFiles=true
Aurimas Liutikas59d77d92020-03-27 17:29:44 -070025
26# Disable features we do not use
27android.defaults.buildfeatures.aidl=false
28android.defaults.buildfeatures.buildconfig=false
29android.defaults.buildfeatures.renderscript=false
30android.defaults.buildfeatures.resvalues=false
Aurimas Liutikas33ebdb92020-08-17 08:53:12 -070031android.defaults.buildfeatures.shaders=false
32
33# Do not automatically include stdlib
34kotlin.stdlib.default.dependency=false
Leland Richardsone368cec2021-06-04 15:45:31 -070035
36# Enable adding baseline-prof.txt files to AAR artifacts
Jeff Gaston62394412021-07-30 13:47:34 -040037android.experimental.enableArtProfiles=true
38
39# Disallow resolving dependencies at configuration time, which is a slight performance problem
40android.dependencyResolutionAtConfigurationTime.disallow=true
Aurimas Liutikasfd7d2142021-08-13 09:15:30 -070041android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.dependencyResolutionAtConfigurationTime.disallow
Aurimas Liutikasab45dbe2021-08-11 10:26:22 -070042
43# Workaround for b/162074215
Jim Sproch666614b2021-08-18 07:43:56 -070044android.includeDependencyInfoInApks=false
45
46# Properties we often want to toggle
47# ksp.version.check=false
48# androidx.compose.multiplatformEnabled=true
David Saff01ee51f2021-10-26 13:55:33 -040049
50# Do _not_ toggle or override unless you have read and understand this:
51# https://blog.jetbrains.com/kotlin/2021/10/important-ua-parser-js-exploit-and-kotlin-js/
52androidx.kmp.js.enabled=false