Disable Gradle configuration cache

Configuration cache causes issues with our version generation code in the gradle build script. We compute the version name and version code based on git information, and configuration cache saves those values by default, needing a manual reload of the gradle project to refresh them.
There's currently no way to avoid caching the version name and version code in the configuration cache, so we need to turn it off altogether.
This commit is contained in:
lynxnb 2024-01-04 19:18:13 +01:00 committed by Niccolò Betto
parent 350f36d52f
commit fbb139a179

View file

@ -22,4 +22,4 @@ android.enableJetifier=true
# Android NDK verbose build output
android.native.buildOutput=verbose
# Gradle Configuration Cache
org.gradle.unsafe.configuration-cache=true
org.gradle.unsafe.configuration-cache=false