Files
Android/gradle.properties
T
2026-05-11 16:31:31 -04:00

24 lines
1.2 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
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=fail
android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false
# 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
# Required: Kotlin source files exist under src/testFixtures (e.g. core/ui).
android.experimental.enableTestFixturesKotlinSupport=true
# Required: app/build.gradle.kts uses kotlinExt.sourceSets.create(...) to wire Kotlin
# source sets for Wire 5.x, which AGP 9.0's built-in Kotlin doesn't create automatically.
android.disallowKotlinSourceSets=false
# Uncomment these to build libsignal from source.
# libsignalClientPath=../libsignal
# org.gradle.dependency.verification=lenient