1*7e7863daSAndroid Build Coastguard Worker# Project-wide Gradle settings. 2*7e7863daSAndroid Build Coastguard Worker# IDE (e.g. Android Studio) users: 3*7e7863daSAndroid Build Coastguard Worker# Gradle settings configured through the IDE *will override* 4*7e7863daSAndroid Build Coastguard Worker# any settings specified in this file. 5*7e7863daSAndroid Build Coastguard Worker# For more details on how to configure your build environment visit 6*7e7863daSAndroid Build Coastguard Worker# http://www.gradle.org/docs/current/userguide/build_environment.html 7*7e7863daSAndroid Build Coastguard Worker# Specifies the JVM arguments used for the daemon process. 8*7e7863daSAndroid Build Coastguard Worker# The setting is particularly useful for tweaking memory settings. 9*7e7863daSAndroid Build Coastguard Workerorg.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 10*7e7863daSAndroid Build Coastguard Worker# When configured, Gradle will run in incubating parallel mode. 11*7e7863daSAndroid Build Coastguard Worker# This option should only be used with decoupled projects. More details, visit 12*7e7863daSAndroid Build Coastguard Worker# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13*7e7863daSAndroid Build Coastguard Worker# org.gradle.parallel=true 14*7e7863daSAndroid Build Coastguard Worker# AndroidX package structure to make it clearer which packages are bundled with the 15*7e7863daSAndroid Build Coastguard Worker# Android operating system, and which are packaged with your app's APK 16*7e7863daSAndroid Build Coastguard Worker# https://developer.android.com/topic/libraries/support-library/androidx-rn 17*7e7863daSAndroid Build Coastguard Workerandroid.useAndroidX=true 18*7e7863daSAndroid Build Coastguard Worker# Suppress warnings for experimental AGP properties 19*7e7863daSAndroid Build Coastguard Workerandroid.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,\ 20*7e7863daSAndroid Build Coastguard Worker android.experimental.testOptions.managedDevices.maxConcurrentDevices,\ 21*7e7863daSAndroid Build Coastguard Worker android.experimental.testOptions.managedDevices.setupTimeoutMinutes,\ 22*7e7863daSAndroid Build Coastguard Worker android.testoptions.manageddevices.emulator.gpu 23*7e7863daSAndroid Build Coastguard Worker# Kotlin code style for this project: "official" or "obsolete": 24*7e7863daSAndroid Build Coastguard Workerkotlin.code.style=official 25*7e7863daSAndroid Build Coastguard Worker# Enables namespacing of each library's R class so that its R class includes only the 26*7e7863daSAndroid Build Coastguard Worker# resources declared in the library itself and none from the library's dependencies, 27*7e7863daSAndroid Build Coastguard Worker# thereby reducing the size of the R class for that library 28*7e7863daSAndroid Build Coastguard Workerandroid.nonTransitiveRClass=true 29*7e7863daSAndroid Build Coastguard Workerandroid.nonFinalResIds=false 30*7e7863daSAndroid Build Coastguard Worker# Properties to make gradle managed devices testing more stable (see https://issuetracker.google.com/287312019#comment41) 31*7e7863daSAndroid Build Coastguard Workerandroid.experimental.testOptions.managedDevices.maxConcurrentDevices=1 32*7e7863daSAndroid Build Coastguard Workerandroid.experimental.testOptions.managedDevices.setupTimeoutMinutes=180 33*7e7863daSAndroid Build Coastguard Worker# Ensure we can run managed devices on servers that don't support hardware rendering 34*7e7863daSAndroid Build Coastguard Workerandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect