| # TODO(https://github.com/spdx/spdx-gradle-plugin/issues/16) remove `-DSPDXParser.> |
| org.gradle.jvmargs=-Xmx8g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dkotlin.daemon.jvm.options=-XX:MaxMetaspaceSize=1g -Dlint.nullness.ignore-deprecated=true -Dorg.gradle.configuration-cache.internal.load-after-store=false -DSPDXParser.OnlyUseLocalLicenses=true |
| org.gradle.daemon=true |
| org.gradle.configureondemand=true |
| org.gradle.parallel=true |
| org.gradle.caching=true |
| org.gradle.welcome=never |
| # Disabled due to https://github.com/gradle/gradle/issues/18626 |
| # org.gradle.vfs.watch=true |
| # Reenabled in gradlew, but disabled in Studio until these errors become shown (b/268380971) or computed more quickly (https://github.com/gradle/gradle/issues/23272) |
| org.gradle.dependency.verification=off |
| org.gradle.dependency.verification.console=verbose |
| org.gradle.unsafe.configuration-cache=true |
| org.gradle.unsafe.configuration-cache-problems=warn |
| org.gradle.unsafe.configuration-cache.max-problems=4000 |
| |
| android.lint.printStackTrace=true |
| android.builder.sdkDownload=false |
| android.uniquePackageNames=false |
| android.enableAdditionalTestOutput=true |
| android.useAndroidX=true |
| android.nonTransitiveRClass=true |
| # Pending cleanup to support non-constant R class IDs b/260409846 |
| android.nonFinalResIds=false |
| android.experimental.lint.missingBaselineIsEmptyBaseline=true |
| |
| # Do generate versioned API files |
| androidx.writeVersionedApiFiles=true |
| |
| # Do run the CheckAarMetadata task |
| android.experimental.disableCompileSdkChecks=false |
| |
| # Do restrict custom SDK usage (e.g. Mainline) |
| androidx.allowCustomCompileSdk=false |
| |
| # Don't warn about needing to update AGP |
| android.suppressUnsupportedCompileSdk=UpsideDownCake,VanillaIceCream,33,34 |
| |
| # Disable features we do not use |
| android.defaults.buildfeatures.aidl=false |
| android.defaults.buildfeatures.buildconfig=false |
| android.defaults.buildfeatures.renderscript=false |
| android.defaults.buildfeatures.resvalues=false |
| android.defaults.buildfeatures.shaders=false |
| |
| # Enable adding baseline-prof.txt files to AAR artifacts |
| android.experimental.enableArtProfiles=true |
| |
| # Disallow resolving dependencies at configuration time, which is a slight performance problem |
| android.dependencyResolutionAtConfigurationTime.disallow=true |
| android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.dependencyResolutionAtConfigurationTime.disallow,android.experimental.lint.missingBaselineIsEmptyBaseline,android.experimental.lint.version,android.lint.printStackTrace |
| # Workaround for b/162074215 |
| android.includeDependencyInfoInApks=false |
| # Allow multiple r8 tasks at once because otherwise they can make the critical path longer: b/256187923 |
| android.r8.maxWorkers=2 |
| |
| kotlin.stdlib.default.dependency=false |
| # mac targets cannot be built on linux, suppress the warning. |
| kotlin.native.ignoreDisabledTargets=true |
| kotlin.mpp.enableCInteropCommonization=true |
| # Suppress pointless warning about mpp being experimental |
| kotlin.mpp.stability.nowarn=true |
| # b/227307216 |
| kotlin.mpp.absentAndroidTarget.nowarn=true |
| # b/261241595 |
| kotlin.mpp.androidSourceSetLayoutVersion=1 |
| kotlin.mpp.androidSourceSetLayoutVersion1.nowarn=true |
| # As of October 3 2022, AGP 7.4.0-alpha08 is higher than AGP 7.3 |
| # Presumably complains if using a non-stable AGP, which we are regularly doing to test pre-stable. |
| kotlin.mpp.androidGradlePluginCompatibility.nowarn=true |
| # Until we get a newer AGP which doesn't do this |
| kotlin.options.suppressFreeCompilerArgsModificationWarning=true |
| |
| # Properties we often want to toggle |
| ksp.version.check=false |
| # androidx.compose.multiplatformEnabled=true |