Skip to content

Commit

Permalink
gradle changes, optimize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Praharsh Jain committed Feb 2, 2023
1 parent f0f8235 commit c2bb92c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
8 changes: 7 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ android {
applicationId "com.praharsh.vudit"
minSdkVersion 17
targetSdkVersion 33
multiDexEnabled true
versionCode 1
versionName "1.0"
}
buildTypes {
debug {
splits.abi.enable = false
splits.density.enable = false
ext.alwaysUpdateBuildId = false
}
release {
minifyEnabled true
shrinkResources true
Expand All @@ -25,7 +31,7 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
implementation 'androidx.appcompat:appcompat:1.6.0'
implementation 'com.google.android.material:material:1.8.0-rc01'
implementation 'com.google.android.material:material:1.9.0-alpha01'
implementation 'com.github.bumptech.glide:glide:4.12.0'
implementation 'com.github.piasy:BigImageViewer:1.8.1'
implementation 'com.github.piasy:ProgressPieIndicator:1.8.1'
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/java/com/praharsh/vudit/FileViewer.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import android.Manifest;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.app.SearchManager;
import android.content.ActivityNotFoundException;
import android.content.Context;
Expand Down Expand Up @@ -1030,7 +1029,7 @@ private void showProperties(final File current_file) {
width = ((width == null || "".equals(width)) ? "Unknown" : width);
try {
meta.release();
}catch (IOException e){
} catch (IOException e) {
}
info += "\nTrack Duration : " + Util.getFormattedTimeDuration(duration);
info += "\nBitrate : " + bitrate;
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
maven { url "https://dl.bintray.com/piasy/maven" }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.0'
classpath 'com.android.tools.build:gradle:7.4.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
# 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
# org.gradle.parallel=true
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configureondemand=true
android.enableJetifier=true
android.useAndroidX=true
org.gradle.unsafe.configuration-cache=true

0 comments on commit c2bb92c

Please sign in to comment.