lightning-kmp-app moves to 63a48b2, which carries AGP 9.5.1 down to secp256k1-kmp. AGP 9.5 registers a Compose Preview runfiles task on every Compose variant and refuses to create it unless that variant's unit tests exist and include Android resources, so unit tests include resources and run for release as well as debug. Merged manifests are identical to 9.4.0's. The submodule commits are on claude/dependency-update branches, not pushed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
1.7 KiB
Properties
36 lines
1.7 KiB
Properties
#Kotlin
|
|
kotlin.code.style=official
|
|
kotlin.daemon.jvmargs=-Xmx12g
|
|
|
|
#Gradle
|
|
org.gradle.jvmargs=-Xmx8g -Dfile.encoding=UTF-8
|
|
# 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
|
|
org.gradle.caching=true
|
|
|
|
#Android
|
|
android.nonTransitiveRClass=true
|
|
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
|
|
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
|