From 46980422d6b896f28d14e680be6048bca3e126e9 Mon Sep 17 00:00:00 2001 From: KOUSOURAKIS Eleftherios Date: Sun, 18 Sep 2022 17:38:52 +0200 Subject: [PATCH] chore(dependencies): Upgrade gradle and dependencies --- app/build.gradle | 64 ++++++++++++------------ build.gradle | 24 ++++----- gradle/wrapper/gradle-wrapper.properties | 6 +-- 3 files changed, 47 insertions(+), 47 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 820ca1d7..ab962a79 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -85,38 +85,38 @@ dependencies { implementation supportDependencies.annotations implementation supportDependencies.design implementation supportDependencies.preference - implementation 'com.afollestad.material-dialogs:core:0.9.6.0' + implementation 'com.afollestad.material-dialogs:core:0.9.6.0' // last update 2020, breaks code implementation 'com.afollestad.material-dialogs:commons:0.9.6.0' - implementation('com.mikepenz:materialdrawer:6.0.8@aar') { + implementation('com.mikepenz:materialdrawer:6.0.8') { // last version for api 31, breaks code transitive = true } - implementation 'com.pnikosis:materialish-progress:1.7' - implementation 'com.github.rubensousa:bottomsheetbuilder:1.6.1' - implementation('com.philliphsu:bottomsheetpickers:2.4.1') { + implementation 'com.pnikosis:materialish-progress:1.7' // last update 2/2016 + implementation 'com.github.rubensousa:bottomsheetbuilder:1.6.1' // last update 4/2018 cannot find 1.6.1 version + implementation('com.philliphsu:bottomsheetpickers:2.4.1') { // last update 6/2017 exclude group: 'com.android.support', module: 'appcompat-v7' exclude group: 'com.android.support', module: 'design' } - implementation 'com.github.florent37:expansionpanel:1.1.1' - implementation 'commons-io:commons-io:2.6' - implementation 'androidx.multidex:multidex:2.0.1' - implementation 'androidx.activity:activity:1.2.0-alpha08' - implementation 'androidx.fragment:fragment:1.3.0-alpha08' - implementation 'net.lingala.zip4j:zip4j:1.3.2' - implementation 'com.github.daniel-stoneuk:material-about-library:2.2.4' - implementation 'com.github.apl-devs:appintro:v4.2.3' - implementation 'com.andrognito.pinlockview:pinlockview:2.1.0' - implementation 'com.andrognito.patternlockview:patternlockview:1.0.0' - implementation 'com.multidots:fingerprint-auth:1.0.1' - implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3' - implementation 'com.github.ronaldsmartin:Material-ViewPagerIndicator:1.0.4' - implementation 'com.jaredrummler:material-spinner:1.2.5' - implementation 'org.dmfs:lib-recur:0.11.1' - implementation 'com.opencsv:opencsv:4.4' - implementation 'net.sourceforge.jexcelapi:jxl:2.6.12' - implementation 'com.itextpdf:itextpdf:5.5.13' - implementation 'me.weishu:free_reflection:2.2.0' - implementation 'com.github.bumptech.glide:glide:4.8.0' - annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0' + implementation 'com.github.florent37:expansionpanel:1.2.4' // archived + implementation 'commons-io:commons-io:2.11.0' + implementation 'androidx.multidex:multidex:2.0.1' // last update 12/2018 + implementation 'androidx.activity:activity:1.2.4' + implementation 'androidx.fragment:fragment:1.3.6' + implementation 'net.lingala.zip4j:zip4j:1.3.3' // 2 vulnerabilities, 2013 version, breaks code + implementation 'com.github.daniel-stoneuk:material-about-library:3.1.2' // last update 8/2020 + implementation 'com.github.apl-devs:appintro:v4.2.3' // last version in maven repo, github new updates + implementation 'com.andrognito.pinlockview:pinlockview:2.1.0' // last update 5/2018 + implementation 'com.andrognito.patternlockview:patternlockview:1.0.0' // last update 4/2017 + implementation 'com.multidots:fingerprint-auth:1.0.1' // last update 2016, github page not found + implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3' // breaks code + implementation 'com.github.ronaldsmartin:Material-ViewPagerIndicator:1.0.4' // last upgrade 2017 + implementation 'com.jaredrummler:material-spinner:1.3.1' // last upgrade 2018 + implementation 'org.dmfs:lib-recur:0.12.2' + implementation 'com.opencsv:opencsv:4.6' // latest version breaks code + implementation 'net.sourceforge.jexcelapi:jxl:2.6.12' // last update 2011 + implementation 'com.itextpdf:itextpdf:5.5.13.3' // end of life - maintenance mode + implementation 'me.weishu:free_reflection:3.0.1' // last update 2022 + implementation 'com.github.bumptech.glide:glide:4.13.2' + annotationProcessor 'com.github.bumptech.glide:compiler:4.13.2' // google play dependencies proprietaryImplementation('com.dropbox.core:dropbox-core-sdk:3.0.8') proprietaryImplementation googlePlayServices.auth @@ -127,12 +127,12 @@ dependencies { // floss dependencies osmImplementation 'org.osmdroid:osmdroid-android:6.1.1' // test dependencies (local tests) - testImplementation 'junit:junit:4.12' + testImplementation 'junit:junit:4.13.2' testImplementation 'org.mockito:mockito-core:3.6.28' // android test dependencies (on-device tests) - androidTestImplementation 'junit:junit:4.12' - androidTestImplementation 'androidx.test:core:1.2.0' - androidTestImplementation 'androidx.test:runner:1.2.0' - androidTestImplementation 'androidx.test:rules:1.2.0' - androidTestUtil "androidx.test:orchestrator:1.2.0" + androidTestImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test:core:1.4.0' + androidTestImplementation 'androidx.test:runner:1.4.0' + androidTestImplementation 'androidx.test:rules:1.4.0' + androidTestUtil "androidx.test:orchestrator:1.4.1" } \ No newline at end of file diff --git a/build.gradle b/build.gradle index 43cd8bf3..40bed2ae 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.0.1' + classpath 'com.android.tools.build:gradle:7.3.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } @@ -45,20 +45,20 @@ ext { supportLib: "27.1.1" ] supportDependencies = [ - appcompat : 'androidx.appcompat:appcompat:1.0.0', - recyclerview : 'androidx.recyclerview:recyclerview:1.0.0', + appcompat : 'androidx.appcompat:appcompat:1.3.1', + recyclerview : 'androidx.recyclerview:recyclerview:1.2.1', cardview: 'androidx.cardview:cardview:1.0.0', - annotations : 'androidx.annotation:annotation:1.0.0', - design : 'com.google.android.material:material:1.0.0', - preference: 'androidx.preference:preference:1.0.0', - constraintlayout : 'androidx.constraintlayout:constraintlayout:1.1.3' + annotations : 'androidx.annotation:annotation:1.4.0', + design : 'com.google.android.material:material:1.4.0', + preference: 'androidx.preference:preference:1.1.1', + constraintlayout : 'androidx.constraintlayout:constraintlayout:2.1.4' ] googlePlayServices = [ - auth: "com.google.android.gms:play-services-auth:15.0.1", - signin: "com.google.android.gms:play-services-identity:15.0.1", - location: "com.google.android.gms:play-services-location:15.0.1", - places: "com.google.android.gms:play-services-places:15.0.1", - drive: "com.google.android.gms:play-services-drive:15.0.1" + auth: "com.google.android.gms:play-services-auth:20.3.0", + signin: "com.google.android.gms:play-services-identity:18.0.1", + location: "com.google.android.gms:play-services-location:20.0.0", + places: "com.google.android.gms:play-services-places:17.0.0", + drive: "com.google.android.gms:play-services-drive:17.0.0" ] } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e2f695da..eadde656 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sun Sep 20 15:59:35 CEST 2020 +#Sun Sep 18 18:40:59 EEST 2022 distributionBase=GRADLE_USER_HOME +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip +zipStoreBase=GRADLE_USER_HOME