material-components_materia.../gradle.properties
marianomartin 238c15759f Migrating to roboelectric 4.1
We were in 3.3.2 so doing a few changes from:
http://robolectric.org/migrating/

- Replaced RuntimeEnvironment.application with ApplicationProvider#getApplicationContext()
- Added android.enableUnitTestBinaryResources=true
   This throws a warning but the release notes say that it can be safely ignored and will
   be fixed in Gradle Plugin 3.4
- Removed @Config(manifest=...) from test
- Added dependencies.
- Added tools:overrideLibrary="androidx.test.core" to use a lower sdk

PiperOrigin-RevId: 226190528
2018-12-21 11:26:40 -05:00

23 lines
876 B
Properties

# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# 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=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# Jetifier is enabled for dagger in the catalog.
android.useAndroidX=true
android.enableJetifier=true
android.enableUnitTestBinaryResources=true