@@ -4,7 +4,7 @@ plugins {
44
55apply plugin : ' com.android.application'
66apply plugin : ' kotlin-android'
7- apply plugin : ' kotlin-android-extensions '
7+ apply plugin : ' kotlin-parcelize '
88apply plugin : ' kotlin-kapt'
99apply plugin : ' checkstyle'
1010
@@ -17,8 +17,8 @@ android {
1717 resValue " string" , " app_name" , " NewPipe"
1818 minSdkVersion 19
1919 targetSdkVersion 29
20- versionCode 975
21- versionName " 0.21.9 "
20+ versionCode 976
21+ versionName " 0.21.10 "
2222
2323 multiDexEnabled true
2424
@@ -84,11 +84,6 @@ android {
8484 jvmTarget = JavaVersion . VERSION_1_8
8585 }
8686
87- // Required and used only by groupie
88- androidExtensions {
89- experimental = true
90- }
91-
9287 sourceSets {
9388 androidTest. assets. srcDirs + = files(" $projectDir /schemas" . toString())
9489 }
@@ -165,7 +160,10 @@ task formatKtlint(type: JavaExec) {
165160}
166161
167162afterEvaluate {
168- preDebugBuild. dependsOn formatKtlint, runCheckstyle, runKtlint
163+ if (! System . properties. containsKey(' skipFormatKtlint' )) {
164+ preDebugBuild. dependsOn formatKtlint
165+ }
166+ preDebugBuild. dependsOn runCheckstyle, runKtlint
169167}
170168
171169sonarqube {
@@ -186,7 +184,7 @@ dependencies {
186184 // name and the commit hash with the commit hash of the (pushed) commit you want to test
187185 // This works thanks to JitPack: https://jitpack.io/
188186 implementation ' com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
189- implementation ' com.github.TeamNewPipe:NewPipeExtractor:v0.21.9 '
187+ implementation ' com.github.TeamNewPipe:NewPipeExtractor:v0.21.10 '
190188
191189/* * Checkstyle **/
192190 checkstyle " com.puppycrawl.tools:checkstyle:${ checkstyleVersion} "
@@ -243,7 +241,8 @@ dependencies {
243241 // Circular ImageView
244242 implementation " de.hdodenhof:circleimageview:3.1.0"
245243 // Image loading
246- implementation " com.nostra13.universalimageloader:universal-image-loader:1.9.5"
244+ // noinspection GradleDependency --> 2.8 is the last version, not 2.71828!
245+ implementation " com.squareup.picasso:picasso:2.8"
247246
248247 // Markdown library for Android
249248 implementation " io.noties.markwon:core:${ markwonVersion} "
@@ -255,6 +254,9 @@ dependencies {
255254 // Crash reporting
256255 implementation " ch.acra:acra-core:5.7.0"
257256
257+ // Properly restarting
258+ implementation ' com.jakewharton:process-phoenix:2.1.2'
259+
258260 // Reactive extensions for Java VM
259261 implementation " io.reactivex.rxjava3:rxjava:3.0.7"
260262 implementation " io.reactivex.rxjava3:rxandroid:3.0.0"
0 commit comments