Skip to content

Commit

Permalink
set minimum build memory to 2g
Browse files Browse the repository at this point in the history
  • Loading branch information
n8fr8 committed Sep 30, 2018
1 parent a499680 commit a315b41
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ allprojects {
targetSdkVersion = 28
}

/**
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked"
}
}**/

}


Expand All @@ -58,7 +65,7 @@ android {
}

dexOptions {
javaMaxHeapSize "1536m"
javaMaxHeapSize "2g"
preDexLibraries true
}

Expand Down Expand Up @@ -109,7 +116,7 @@ dependencies {
implementation 'androidx.preference:preference:1.0.0'
implementation 'androidx.multidex:multidex:2.0.0'
implementation 'androidx.annotation:annotation:1.0.0'
implementation 'com.google.android.material:material:1.0.0-rc02'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.wdullaer:materialdatetimepicker:3.6.4'
implementation 'com.github.guardianproject:signal-cli-android:v0.6.0-android-beta-1'
implementation 'com.github.satyan:sugar:1.5'
Expand All @@ -120,7 +127,8 @@ dependencies {
implementation 'me.angrybyte.picker:picker:1.3.1'
implementation 'com.github.stfalcon:frescoimageviewer:0.5.0'
implementation 'com.facebook.fresco:fresco:1.10.0'
implementation 'com.github.derlio.waveform:library:1.0.3@aar'
// implementation 'com.github.derlio.waveform:library:1.0.3@aar'
implementation 'com.github.derlio:audio-waveform:v1.0.1'
implementation 'org.firezenk:audiowaves:1.1@aar'
implementation 'com.maxproj.simplewaveform:app:1.0.0'
implementation 'com.googlecode.libphonenumber:libphonenumber:8.9.14'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
android.enableJetifier=true
android.useAndroidX=true
android.enableR8=true
Expand Down

0 comments on commit a315b41

Please sign in to comment.