fix: r8 broke workmanager

This commit is contained in:
2026-06-11 01:22:48 +02:00
parent e242c7b5d0
commit 39c31f96a8
7 changed files with 112 additions and 78 deletions
+9 -5
View File
@@ -6,11 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
# org.gradle.parallel=true
# org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
#Your project is using a version of the Android Gradle Plugin that has built-in Kotlin support,
@@ -35,3 +31,11 @@ org.gradle.parallel=true
# Enable build caching (caches task outputs across clean builds)
org.gradle.caching=true
# Increase heap if R8 is being swapped out ? default is often too low
org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# Enables incremental R8 ? only reprocesses changed classes
# Safe for release builds, significant speedup on incremental rebuilds
android.enableR8.incremental=true
# R8-specific: run R8 in a separate process with more memory
android.r8.jvmArgs=-Xmx4g