Skip to content

Commit ba6fdec

Browse files
authored
Merge pull request #7063 from TeamNewPipe/release/0.21.10
Release 0.21.10
2 parents 94b4c76 + f791e83 commit ba6fdec

358 files changed

Lines changed: 4031 additions & 6853 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Oh no, a bug! It happens. Thanks for reporting an issue with NewPipe. To make it
5757

5858

5959

60-
<!-- Please fill this out when you do not provide a log generate by NewPipe -->
60+
<!-- Please fill this section if you did not provide a log generated by NewPipe -->
6161

6262
### Device info
6363

.github/workflows/ci.yml

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: CI
22

33
on:
4+
workflow_dispatch:
45
pull_request:
56
branches:
67
- dev
@@ -36,20 +37,11 @@ jobs:
3637
uses: actions/setup-java@v2
3738
with:
3839
java-version: 8
39-
distribution: "adopt"
40-
41-
- name: Cache Gradle dependencies
42-
uses: actions/cache@v2
43-
with:
44-
path: ~/.gradle/caches
45-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
46-
restore-keys: ${{ runner.os }}-gradle
40+
distribution: "temurin"
41+
cache: 'gradle'
4742

48-
- name: Check if kotlin files are formatted correctly
49-
run: ./gradlew runKtlint
50-
5143
- name: Build debug APK and run jvm tests
52-
run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace
44+
run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace -DskipFormatKtlint
5345

5446
- name: Upload APK
5547
uses: actions/upload-artifact@v2
@@ -71,14 +63,8 @@ jobs:
7163
uses: actions/setup-java@v2
7264
with:
7365
java-version: 8
74-
distribution: "adopt"
75-
76-
- name: Cache Gradle dependencies
77-
uses: actions/cache@v2
78-
with:
79-
path: ~/.gradle/caches
80-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
81-
restore-keys: ${{ runner.os }}-gradle
66+
distribution: "temurin"
67+
cache: 'gradle'
8268

8369
- name: Run android tests
8470
uses: reactivecircus/android-emulator-runner@v2
@@ -99,7 +85,8 @@ jobs:
9985
# uses: actions/setup-java@v2
10086
# with:
10187
# java-version: 11 # Sonar requires JDK 11
102-
# distribution: "adopt"
88+
# distribution: "temurin"
89+
# cache: 'gradle'
10390

10491
# - name: Cache SonarCloud packages
10592
# uses: actions/cache@v2
@@ -108,13 +95,6 @@ jobs:
10895
# key: ${{ runner.os }}-sonar
10996
# restore-keys: ${{ runner.os }}-sonar
11097

111-
# - name: Cache Gradle packages
112-
# uses: actions/cache@v2
113-
# with:
114-
# path: ~/.gradle/caches
115-
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
116-
# restore-keys: ${{ runner.os }}-gradle
117-
11898
# - name: Build and analyze
11999
# env:
120100
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any

.github/workflows/no-response.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: No Response
2+
3+
# Both `issue_comment` and `scheduled` event types are required for this Action
4+
# to work properly.
5+
on:
6+
issue_comment:
7+
types: [created]
8+
schedule:
9+
# Run daily at midnight.
10+
- cron: '0 0 * * *'
11+
12+
jobs:
13+
noResponse:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: lee-dohm/no-response@v0.5.0
17+
with:
18+
token: ${{ github.token }}
19+
daysUntilClose: 14
20+
responseRequiredLabel: waiting-for-author

app/build.gradle

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44

55
apply plugin: 'com.android.application'
66
apply plugin: 'kotlin-android'
7-
apply plugin: 'kotlin-android-extensions'
7+
apply plugin: 'kotlin-parcelize'
88
apply plugin: 'kotlin-kapt'
99
apply 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

167162
afterEvaluate {
168-
preDebugBuild.dependsOn formatKtlint, runCheckstyle, runKtlint
163+
if (!System.properties.containsKey('skipFormatKtlint')) {
164+
preDebugBuild.dependsOn formatKtlint
165+
}
166+
preDebugBuild.dependsOn runCheckstyle, runKtlint
169167
}
170168

171169
sonarqube {
@@ -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

Comments
 (0)