Skip to content

armgit / haven

Public Imported from GitHub
0

Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors

set minimum build memory to 2g

n8fr8a315b41e87b2
diff --git a/build.gradle b/build.gradle
index 93d7c01..dff0a34 100644
--- a/build.gradle
+++ b/build.gradle
@@ -40,6 +40,13 @@ allprojects {
targetSdkVersion = 28
}
+ /**
+ gradle.projectsEvaluated {
+ tasks.withType(JavaCompile) {
+ options.compilerArgs << "-Xlint:unchecked"
+ }
+ }**/
+
}
@@ -58,7 +65,7 @@ android {
}
dexOptions {
- javaMaxHeapSize "1536m"
+ javaMaxHeapSize "2g"
preDexLibraries true
}
@@ -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'
@@ -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'
diff --git a/gradle.properties b/gradle.properties
index cb0bf91..65f8789 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -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