This repository has been archived by the owner on Jan 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
/
Copy pathgradle.properties
92 lines (65 loc) · 5.22 KB
/
gradle.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# 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
# MEMORY RELATED CONFIG ====================================================================================================================
# Specifies the JVM arguments used for the daemon process. The setting is particularly useful for tweaking memory settings. Default value:
# -Xmx10248m -XX:MaxPermSize=256m .
org.gradle.jvmargs=-Xmx4g -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# Dex memory allocation should be at least 2gb less than the gradle memory allocation above. This allows for dex in process builds where the
# dex process runs in the same VM as gradle does. For more info see
# https://medium.com/google-developers/faster-android-studio-builds-with-dex-in-process-5988ed8aa37e#.qh098djyi
dexMemoryAllocation=2g
# OTHER GRADLE RELATED CONFIG ==============================================================================================================
# 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
# Keep gradle in a daemon thread that doesn't restart for every build, decreases initial build startup time
org.gradle.daemon=true
# Don't configure all modules on every build, decreases build time
org.gradle.configureondemand=true
# DEV LOCAL CONFIG =========================================================================================================================
# Speed hack to decrease dev build times. Doesn't do anything as it is, but if a developer wants to they can change the
# "increaseMinSdkForDev" property from "false" to "true" and create an apk with minSdk = 21 that takes advantage of the ART runtime support
# for multidex, resulting in faster builds. For more info see: https://developer.android.com/studio/build/multidex.html
increaseMinSdkForDev=false
# Speed hack to decrease dev build times. Doesn't do anything as it is, but if a developer wants to they can enable this speed hack by
# changing the "disableSomeBuildTypes" property from "false" to "true" and then set the build type that they want to keep with the
# "disableAllBuildTypesApartFrom" property. This will get rid of all build types apart from the one declared and make the build a bit faster
disableSomeBuildTypes=false
disableAllBuildTypesApartFrom=debug
# Speed hack to decrease dev build times. Doesn't do anything as it is, but if a developer wants to they can change the
# "decreaseAmountOfResourcesForDev" property from "false" to "true" and create an apk that doesn't contain all resources (e.g. language
# strings or drawable density buckets) resulting in faster builds.
decreaseAmountOfResourcesForDev=false
# Speed hack to decrease dev build times. Doesn't do anything as it is, but if a developer wants to they can change the
# "disableAaptCruncherForDev" property from "false" to "true" and disable the aapt cruncher that spends a bit of time optimizing PNGs at
# compile time.
disableAaptCruncherForDev=false
# OTHER ====================================================================================================================================
# Speed up build times (including full builds, incremental builds, and instant run) by storing and reusing files/directories that were
# created in previous builds of the same or different Android project. See http://tools.android.com/tech-docs/build-cache for more.
# Note that this cache is android specific.
android.enableBuildCache=true
# Enable or disable the new gradle cache. See
# https://docs.gradle.org/3.5/userguide/build_cache.html for more details
org.gradle.caching=true
version=0.1.0
# We got a plugin failing builds when the release APK is more this number (in bytes). Currently set to 5MB.
maxReleaseApkSizeInBytes=5242880
# Grant all runtime permissions when installing an apk from the command line or android studio. For now this is only required for
# the OkReplay library (https://github.com/airbnb/okreplay) as it requires the EXTERNAL STORAGE permission to record the server responses.
grantAllRuntimePermissions=false
# OVERRIDDEN BY CI ==========================================================================================================================
# Release track used by plugin https://github.com/Triple-T/gradle-play-publisher to define where to upload the APK (production,alpha or
# beta). Defaulting to 'alpha'. Available values are: 'production', 'rollout', 'beta', 'alpha'.
releaseTrack=alpha
# The location of the service account key that allows access to our service account in order to automate deployments to the Playstore with
# the https://github.com/Triple-T/gradle-play-publisher plugin.
pk12FileLocation=overridden
# Number provided by CI to mark builds with (used as part of versionCode).
buildNumber=0
# Flag whether build is running on CI server or not. Certain changes in the build may occur based on this flag.
isRunningInCI=false