|
|
|
@ -8,7 +8,7 @@ plugins {
|
|
|
|
|
id "kotlin-kapt"
|
|
|
|
|
id "kotlin-parcelize"
|
|
|
|
|
id "checkstyle"
|
|
|
|
|
id "org.sonarqube" version "3.5.0.2730"
|
|
|
|
|
id "org.sonarqube" version "4.0.0.2929"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
@ -107,14 +107,14 @@ android {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ext {
|
|
|
|
|
checkstyleVersion = '10.3.1'
|
|
|
|
|
checkstyleVersion = '10.11.0'
|
|
|
|
|
|
|
|
|
|
androidxLifecycleVersion = '2.5.1'
|
|
|
|
|
androidxRoomVersion = '2.4.3'
|
|
|
|
|
androidxWorkVersion = '2.7.1'
|
|
|
|
|
|
|
|
|
|
icepickVersion = '3.2.0'
|
|
|
|
|
exoPlayerVersion = '2.18.5'
|
|
|
|
|
exoPlayerVersion = '2.18.7'
|
|
|
|
|
googleAutoServiceVersion = '1.0.1'
|
|
|
|
|
groupieVersion = '2.10.1'
|
|
|
|
|
markwonVersion = '4.6.2'
|
|
|
|
@ -122,7 +122,6 @@ ext {
|
|
|
|
|
leakCanaryVersion = '2.9.1'
|
|
|
|
|
stethoVersion = '1.6.0'
|
|
|
|
|
mockitoVersion = '4.0.0'
|
|
|
|
|
assertJVersion = '3.23.1'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
@ -193,7 +192,7 @@ sonar {
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
/** Desugaring **/
|
|
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.2'
|
|
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
|
|
|
|
|
|
|
|
|
|
/** NewPipe libraries **/
|
|
|
|
|
// You can use a local version by uncommenting a few lines in settings.gradle
|
|
|
|
@ -241,10 +240,10 @@ dependencies {
|
|
|
|
|
kapt "frankiesardo:icepick-processor:${icepickVersion}"
|
|
|
|
|
|
|
|
|
|
// HTML parser
|
|
|
|
|
implementation "org.jsoup:jsoup:1.15.3"
|
|
|
|
|
implementation "org.jsoup:jsoup:1.16.1"
|
|
|
|
|
|
|
|
|
|
// HTTP client
|
|
|
|
|
implementation "com.squareup.okhttp3:okhttp:4.10.0"
|
|
|
|
|
implementation "com.squareup.okhttp3:okhttp:4.11.0"
|
|
|
|
|
|
|
|
|
|
// Media player
|
|
|
|
|
implementation "com.google.android.exoplayer:exoplayer-core:${exoPlayerVersion}"
|
|
|
|
@ -279,7 +278,7 @@ dependencies {
|
|
|
|
|
implementation 'com.jakewharton:process-phoenix:2.1.2'
|
|
|
|
|
|
|
|
|
|
// Reactive extensions for Java VM
|
|
|
|
|
implementation "io.reactivex.rxjava3:rxjava:3.1.5"
|
|
|
|
|
implementation "io.reactivex.rxjava3:rxjava:3.1.6"
|
|
|
|
|
implementation "io.reactivex.rxjava3:rxandroid:3.0.2"
|
|
|
|
|
// RxJava binding APIs for Android UI widgets
|
|
|
|
|
implementation "com.jakewharton.rxbinding4:rxbinding:4.0.0"
|
|
|
|
@ -301,10 +300,10 @@ dependencies {
|
|
|
|
|
testImplementation "org.mockito:mockito-core:${mockitoVersion}"
|
|
|
|
|
testImplementation "org.mockito:mockito-inline:${mockitoVersion}"
|
|
|
|
|
|
|
|
|
|
androidTestImplementation "androidx.test.ext:junit:1.1.3"
|
|
|
|
|
androidTestImplementation "androidx.test:runner:1.4.0"
|
|
|
|
|
androidTestImplementation "androidx.test.ext:junit:1.1.5"
|
|
|
|
|
androidTestImplementation "androidx.test:runner:1.5.2"
|
|
|
|
|
androidTestImplementation "androidx.room:room-testing:${androidxRoomVersion}"
|
|
|
|
|
androidTestImplementation "org.assertj:assertj-core:${assertJVersion}"
|
|
|
|
|
androidTestImplementation "org.assertj:assertj-core:3.23.1"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static String getGitWorkingBranch() {
|
|
|
|
|