Skip to content

Commit 400bbeb

Browse files
authored
Merge pull request #7 from bapspatil/master
Updated build scripts for faster builds
2 parents edfaef4 + 096b2a0 commit 400bbeb

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

gradle.properties

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
# Project-wide Gradle settings.
2-
3-
# IDE (e.g. Android Studio) users:
4-
# Gradle settings configured through the IDE *will override*
5-
# any settings specified in this file.
6-
7-
# For more details on how to configure your build environment visit
8-
# http://www.gradle.org/docs/current/userguide/build_environment.html
9-
10-
# Specifies the JVM arguments used for the daemon process.
11-
# The setting is particularly useful for tweaking memory settings.
12-
org.gradle.jvmargs=-Xmx1536m
13-
14-
# When configured, Gradle will run in incubating parallel mode.
15-
# This option should only be used with decoupled projects. More details, visit
16-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17-
# org.gradle.parallel=true
1+
# Enable Gradle Daemon
2+
org.gradle.daemon=true
3+
# Enable parallel builds
4+
org.gradle.parallel=true
5+
# Enable Build Cache
6+
android.enableBuildCache=true
7+
# Enable simple gradle caching
8+
org.gradle.caching=true
9+
# Increase memory allotted to JVM
10+
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
11+
12+
# Kotlin code style for this project: "official" or "obsolete":
13+
kotlin.code.style=official
14+
# R8 Shrinker
15+
android.enableR8=true

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip

0 commit comments

Comments
 (0)