@@ -9,30 +9,9 @@ TEST_APP_VERSION_NAME=0.1.0
99# any settings specified in this file.
1010# For more details on how to configure your build environment visit
1111# http://www.gradle.org/docs/current/userguide/build_environment.html
12-
1312# Specifies the JVM arguments used for the daemon process.
1413# The setting is particularly useful for tweaking memory settings.
15- # Ensure important default jvmargs aren't overwritten. See https://github.com/gradle/gradle/issues/19750
16- #
17- # For more information about how Gradle memory options were chosen:
18- # - Metaspace See https://www.jasonpearson.dev/metaspace-in-jvm-builds/
19- # - SoftRefLRUPolicyMSPerMB would default to 1000 which with a 4gb heap translates to ~51 minutes.
20- # A value of 1 means ~4 seconds before SoftRefs can be collected, which means its realistic to
21- # collect them as needed during a build that should take seconds to minutes.
22- # - CodeCache normally defaults to a very small size. Increasing it from platform defaults of 32-48m
23- # because of how many classes can be loaded into memory and then cached as native compiled code
24- # for a small speed boost.
25- # - Increased stack size (Xss) fixes StackOverFlow during javadoc generation
26- org.gradle.jvmargs =-Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=1 -XX:ReservedCodeCacheSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xmx16g -Xms4g -Xss4m
27-
28- # For more information about how Kotlin Daemon memory options were chosen:
29- # - Kotlin JVM args only inherit Xmx, ReservedCodeCache, and MaxMetaspace. Since we are specifying
30- # other args we need to specify all of them here.
31- # - We're using the Kotlin Gradle Plugin's default value for ReservedCodeCacheSize, if we do not then
32- # the Gradle JVM arg value for ReservedCodeCacheSize will be used.
33- kotlin.daemon.jvmargs =-Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=1 -XX:ReservedCodeCacheSize=320m -XX:+HeapDumpOnOutOfMemoryError -Xmx16g -Xms4g
34-
35-
14+ org.gradle.jvmargs =-Xmx12g -XX:MaxPermSize=1024m -XX:+UseParallelGC
3615# When configured, Gradle will run in incubating parallel mode.
3716# This option should only be used with decoupled projects. More details, visit
3817# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
@@ -41,15 +20,16 @@ kotlin.daemon.jvmargs=-Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:SoftRefLRUPolicyMSP
4120# Android operating system, and which are packaged with your app's APK
4221# https://developer.android.com/topic/libraries/support-library/androidx-rn
4322android.useAndroidX =true
23+ # Automatically convert third-party libraries to use AndroidX
24+ android.enableJetifier =false
4425# Kotlin code style for this project: "official" or "obsolete":
4526kotlin.code.style =official
27+ # Work around Jetifier can't handle multi-release jars
28+ # https://github.com/bcgit/bc-java/issues/762
29+ # https://issuetracker.google.com/issues/172784894
30+ # android.jetifier.blacklist=bcprov-jdk15on
31+ android.jetifier.ignorelist =bcprov-jdk15on
4632# Internal build flag to build from source.
4733buildFromSource =false
4834# Disable ksp incremental feature due to ksp bug in https://github.com/google/ksp/issues/1280
49- ksp.incremental =false
50-
51- android.nonTransitiveRClass =false
52- # android.nonFinalResIds=false
53-
54- # Enable caching between builds.
55- org.gradle.caching =true
35+ ksp.incremental =false
0 commit comments