From f5570b2439bd1f1c368c139fe5837445b9224252 Mon Sep 17 00:00:00 2001 From: Niclas Date: Fri, 8 May 2020 22:42:16 +0200 Subject: [PATCH] fixes #194 -- speed up build times --- .travis.yml | 7 +++---- gradle.properties | 6 ++++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index be2fa438..887b241f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,10 +20,9 @@ android: - android-28 - android-29 script: -- "./gradlew ktlint" -- "./gradlew clean build" -- "./gradlew tasks" -- "./gradlew assembleGithub" +- "./gradlew :app:ktlint" +- "./gradlew :app:test" +- "./gradlew :app:assembleGithub" before_install: - openssl aes-256-cbc -K $encrypted_f7c7591dbff3_key -iv $encrypted_f7c7591dbff3_iv -in .keystore.enc -out .keystore -d diff --git a/gradle.properties b/gradle.properties index f6853fb4..2cfdb784 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ # 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 +org.gradle.jvmargs=-Xmx2048m # 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 @@ -16,4 +16,6 @@ org.gradle.jvmargs=-Xmx1536m # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true # Automatically convert third-party libraries to use AndroidX -android.enableJetifier=true \ No newline at end of file +android.enableJetifier=true +org.gradle.parallel=true +org.gradle.caching=true \ No newline at end of file