mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-20 07:10:15 +01:00
35 lines
1.5 KiB
Properties
35 lines
1.5 KiB
Properties
# R8 thread count set to 1 to avoid non-determinstic behavior
|
|
org.gradle.jvmargs=-Xmx12g -Xms256m -XX:MaxMetaspaceSize=1g -Dcom.android.tools.r8.threadCount=1
|
|
android.useAndroidX=true
|
|
android.experimental.androidTest.numManagedDeviceShards=1
|
|
org.gradle.configuration-cache=true
|
|
org.gradle.configuration-cache.problems=fail
|
|
android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false
|
|
android.lint.useK2Uast=true
|
|
|
|
# We never want to use auto-provisioning, as it breaks reproducible builds.
|
|
# This should not be a problem, because we never configure a "javaRepositories"
|
|
# item to tell Gradle where to auto-provision the toolchain from, but adding
|
|
# this flag adds an extra layer of protection.
|
|
# See: https://docs.gradle.org/current/userguide/toolchains.html#sub:disable_auto_provision
|
|
org.gradle.java.installations.auto-download=false
|
|
|
|
# Test fixtures support for Android modules
|
|
android.experimental.enableTestFixturesKotlinSupport=true
|
|
android.defaults.buildfeatures.resvalues=true
|
|
android.sdk.defaultTargetSdkToCompileSdkIfUnset=false
|
|
android.enableAppCompileTimeRClass=false
|
|
android.onlyEnableUnitTestForTheTestedBuildType=false
|
|
android.usesSdkInManifest.disallowed=false
|
|
android.uniquePackageNames=false
|
|
android.dependency.useConstraints=true
|
|
android.r8.strictFullModeForKeepRules=false
|
|
android.r8.optimizedResourceShrinking=false
|
|
android.builtInKotlin=true
|
|
android.newDsl=true
|
|
android.disallowKotlinSourceSets=false
|
|
|
|
# Uncomment these to build libsignal from source.
|
|
# libsignalClientPath=../libsignal
|
|
# org.gradle.dependency.verification=lenient
|