Skip to content

Commit

Permalink
[Security] Update various dependencies (#36)
Browse files Browse the repository at this point in the history
* [Security] Update various dependencies

Update checkstyle / guava to Fix security vulnerability to 8.38
[Security] Update ktlint to 0.40.0
Update dependency for core library desugaring to 1.1.5
Upgrade ExoPlayer to 2.11.8
Update junit from 4.13.1 to 4.13.2 
Update okhttp from 3.12.12 to 3.12.13
  • Loading branch information
whistlingwoods authored Jan 12, 2023
1 parent 826f536 commit 448db7c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ android {

ext {
icepickVersion = '3.2.0'
checkstyleVersion = '8.32'
checkstyleVersion = '8.38'
stethoVersion = '1.5.1'
leakCanaryVersion = '2.2'
exoPlayerVersion = '2.11.6'
leakCanaryVersion = '2.5'
exoPlayerVersion = '2.11.8'
androidxLifecycleVersion = '2.2.0'
androidxRoomVersion = '2.2.5'
groupieVersion = '2.8.0'
markwonVersion = '4.3.1'
groupieVersion = '2.8.1'
markwonVersion = '4.6.0'
}

configurations {
Expand Down Expand Up @@ -148,15 +148,15 @@ afterEvaluate {
}

dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

implementation "frankiesardo:icepick:${icepickVersion}"
kapt "frankiesardo:icepick-processor:${icepickVersion}"

checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}"
ktlint "com.pinterest:ktlint:0.35.0"
ktlint "com.pinterest:ktlint:0.40.0"

debugImplementation "com.facebook.stetho:stetho:${stethoVersion}"
debugImplementation "com.facebook.stetho:stetho-okhttp3:${stethoVersion}"
Expand All @@ -166,7 +166,7 @@ dependencies {

implementation "androidx.multidex:multidex:2.0.1"

testImplementation 'junit:junit:4.13'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:3.3.3'

androidTestImplementation "androidx.test.ext:junit:1.1.1"
Expand All @@ -180,7 +180,8 @@ dependencies {
implementation "com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751"
implementation "org.jsoup:jsoup:1.13.1"

implementation "com.squareup.okhttp3:okhttp:3.12.11"
//noinspection GradleDependency --> do not update okhttp above 3.12.xx to keep supporting Android 4.4 users
implementation "com.squareup.okhttp3:okhttp:3.12.13"

implementation "com.google.android.exoplayer:exoplayer:${exoPlayerVersion}"
implementation "com.google.android.exoplayer:extension-mediasession:${exoPlayerVersion}"
Expand Down

0 comments on commit 448db7c

Please sign in to comment.