2026-03-23 01:41:39 +02:00
|
|
|
#Kotlin
|
|
|
|
|
kotlin.code.style=official
|
2026-04-27 19:43:23 +02:00
|
|
|
kotlin.daemon.jvmargs=-Xmx12g
|
2026-03-23 01:41:39 +02:00
|
|
|
|
|
|
|
|
#Gradle
|
2026-04-27 19:43:23 +02:00
|
|
|
org.gradle.jvmargs=-Xmx8g -Dfile.encoding=UTF-8
|
2026-09-04 22:50:59 +02:00
|
|
|
# Off because the lightning-kmp-app composite build reaches, through its experimental/lightning-kmp
|
|
|
|
|
# -> bitcoin-kmp -> secp256k1-kmp submodule chain, two tasks that cannot be serialized:
|
|
|
|
|
# secp256k1-kmp's `:jni:generateHeaders` and `:native:buildSecp256k1<target>` both hold gradle
|
|
|
|
|
# script object references. The configuration cache covers a whole build tree, so an included
|
|
|
|
|
# build's incompatibility is this build's problem -- there is no per-build opt-out. Re-enable once
|
|
|
|
|
# those two tasks are fixed upstream in the secp256k1-kmp fork, or if that includeBuild goes.
|
|
|
|
|
org.gradle.configuration-cache=false
|
2026-03-23 01:41:39 +02:00
|
|
|
org.gradle.caching=true
|
|
|
|
|
|
|
|
|
|
#Android
|
|
|
|
|
android.nonTransitiveRClass=true
|
2026-05-17 23:02:42 +02:00
|
|
|
android.useAndroidX=true
|
|
|
|
|
android.defaults.buildfeatures.resvalues=true
|
|
|
|
|
android.sdk.defaultTargetSdkToCompileSdkIfUnset=false
|
|
|
|
|
android.enableAppCompileTimeRClass=false
|
|
|
|
|
android.usesSdkInManifest.disallowed=false
|
|
|
|
|
android.uniquePackageNames=false
|
|
|
|
|
android.dependency.useConstraints=true
|
|
|
|
|
android.r8.strictFullModeForKeepRules=false
|
|
|
|
|
android.r8.optimizedResourceShrinking=false
|
|
|
|
|
android.builtInKotlin=false
|
2026-11-20 15:12:13 +02:00
|
|
|
android.newDsl=false
|
|
|
|
|
|
|
|
|
|
# AGP 9.5 registers `generate<Variant>ComposePreviewRunfiles` on every variant with Compose on and
|
|
|
|
|
# fails to create it for a variant without unit tests. AGP 9 enables unit tests for the tested build
|
|
|
|
|
# type (debug) only, and Kotlin's `allTests` realizes the release one too, so `check` could not
|
|
|
|
|
# configure. Unit tests for every build type again: `check` runs testReleaseUnitTest beside
|
|
|
|
|
# testDebugUnitTest. docs/dependency-update.md, Phase 5.
|
|
|
|
|
android.onlyEnableUnitTestForTheTestedBuildType=false
|