|
1 | 1 | # Project-wide Gradle settings. |
2 | | -# IDE (e.g. Android Studio) users: |
3 | | -# Gradle settings configured through the IDE *will override* |
4 | | -# any settings specified in this file. |
5 | | -# For more details on how to configure your build environment visit |
6 | | -# http://www.gradle.org/docs/current/userguide/build_environment.html |
7 | | -# Specifies the JVM arguments used for the daemon process. |
8 | | -# The setting is particularly useful for tweaking memory settings. |
9 | | -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 |
10 | | -# When configured, Gradle will run in incubating parallel mode. |
11 | | -# This option should only be used with decoupled projects. For more details, visit |
12 | | -# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects |
13 | | -# org.gradle.parallel=true |
14 | | -# AndroidX package structure to make it clearer which packages are bundled with the |
15 | | -# Android operating system, and which are packaged with your app's APK |
16 | | -# https://developer.android.com/topic/libraries/support-library/androidx-rn |
17 | | -android.useAndroidX=true |
18 | | -# Kotlin code style for this project: "official" or "obsolete": |
| 2 | +org.gradle.jvmargs=-Xmx4g -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8 |
| 3 | +org.gradle.parallel=true |
| 4 | +org.gradle.caching=true |
| 5 | +org.gradle.configuration-cache=true |
| 6 | +kotlin.daemon.jvmargs=-Xmx2g -XX:+UseParallelGC |
19 | 7 | kotlin.code.style=official |
20 | | -# Enables namespacing of each library's R class so that its R class includes only the |
21 | | -# resources declared in the library itself and none from the library's dependencies, |
22 | | -# thereby reducing the size of the R class for that library |
| 8 | +android.useAndroidX=true |
23 | 9 | android.nonTransitiveRClass=true |
0 commit comments