Skip to content
This repository was archived by the owner on Dec 16, 2023. It is now read-only.

Commit dfa2cd9

Browse files
authored
Improve build time (#5)
- Disable Crashlytics in debug. - Disable Crashlytics updating the build id. - Enable parallel build - Enable build caching
1 parent a30e4e9 commit dfa2cd9

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

app/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ android {
1717
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1818
}
1919
buildTypes {
20+
debug {
21+
ext.alwaysUpdateBuildId = false
22+
ext.enableCrashlytics = false
23+
}
2024
release {
2125
minifyEnabled true
2226
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ org.gradle.jvmargs=-Xmx1536m
1414
# When configured, Gradle will run in incubating parallel mode.
1515
# This option should only be used with decoupled projects. More details, visit
1616
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17-
# org.gradle.parallel=true
17+
org.gradle.parallel=true
18+
org.gradle.caching=true

0 commit comments

Comments
 (0)