more build time improvements

This commit is contained in:
Phillip Thelen 2017-03-25 23:38:11 +01:00
parent 3bc606b857
commit 4aec7339ae
3 changed files with 4 additions and 5 deletions

1
.gitignore vendored
View file

@ -55,3 +55,4 @@ Habitica/res/values/secret_strings.xml
habitica.properties
habitica.resources
Habitica/google-services.json
reports/

View file

@ -14,7 +14,6 @@ buildscript {
dependencies {
classpath 'io.fabric.tools:gradle:1.21.5'
classpath 'me.tatarka:gradle-retrolambda:3.3.1'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.1'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath('com.noveogroup.android:check:1.2.3') {
exclude module: 'checkstyle'
@ -156,7 +155,7 @@ dependencies {
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.habitrpg.android.habitica"
@ -225,7 +224,7 @@ android {
dexOptions {
preDexLibraries false
javaMaxHeapSize "4g" // Use gig increments depending on needs
javaMaxHeapSize "6g" // Use gig increments depending on needs
}
lintOptions {
@ -300,7 +299,6 @@ tasks.whenTaskAdded { task ->
check { findbugs { skip true } }
apply plugin: 'com.getkeepsafe.dexcount'
apply plugin: 'com.android.application' //or apply plugin: 'java'
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'com.google.gms.google-services'

View file

@ -12,7 +12,7 @@ buildscript {
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
buildToolsVersion "25.0.2"
defaultConfig {
minSdkVersion 14