Skip to content

Commit

Permalink
Updated gradle version to 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimowner committed Jun 6, 2020
1 parent 178fe6e commit 14b9763
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 3 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ android {
release {
minifyEnabled true
shrinkResources true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// firebaseCrashlytics {
// mappingFileUploadEnabled true
// }
}
debug {
minifyEnabled false
Expand Down
3 changes: 3 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@
#-renamesourcefileattribute SourceFile

-keep class com.dimowner.audiorecorder.** { *; }

-keepattributes SourceFile,LineNumberTable # Keep file names and line numbers.
-keep public class * extends java.lang.Exception # Optional: Keep custom exceptions.
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ private void updateInformation(String format, int sampleRate, long size) {
default:
view.showInformation(settingsMapper.formatSize(size) + AppConstants.SEPARATOR
+ format + AppConstants.SEPARATOR
+ settingsMapper.convertSampleRateToString(sampleRate) + AppConstants.SEPARATOR
+ settingsMapper.convertSampleRateToString(sampleRate)
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
classpath 'com.android.tools.build:gradle:4.0.0'
}
}

Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Aug 01 21:08:22 EEST 2019
#Sat Jun 06 12:53:24 EEST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

0 comments on commit 14b9763

Please sign in to comment.