Skip to content

Commit 21b37b5

Browse files
authored
Merge pull request #13296 from TeamNewPipe/release-0.28.4
Release 0.28.4
2 parents 8578bd9 + 675d156 commit 21b37b5

File tree

350 files changed

+4198
-4130
lines changed

Some content is hidden

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

350 files changed

+4198
-4130
lines changed

.github/workflows/backport-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
github.event.comment.author_association == 'MEMBER'
2323
)
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626
- name: Get backport metadata
2727
# the target branch is the first argument after `/backport`
2828
env:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- uses: actions/checkout@v6
41-
- uses: gradle/actions/wrapper-validation@v4
41+
- uses: gradle/actions/wrapper-validation@v5
4242

4343
- name: create and checkout branch
4444
# push events already checked out the branch

app/build.gradle.kts

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* SPDX-License-Identifier: GPL-3.0-or-later
44
*/
55

6+
import com.android.build.api.dsl.ApplicationExtension
7+
68
plugins {
79
alias(libs.plugins.android.application)
810
alias(libs.plugins.jetbrains.kotlin.android)
@@ -32,7 +34,7 @@ kotlin {
3234
}
3335
}
3436

35-
android {
37+
configure<ApplicationExtension> {
3638
compileSdk = 36
3739
namespace = "org.schabi.newpipe"
3840

@@ -42,9 +44,9 @@ android {
4244
minSdk = 21
4345
targetSdk = 35
4446

45-
versionCode = System.getProperty("versionCodeOverride")?.toInt() ?: 1008
47+
versionCode = System.getProperty("versionCodeOverride")?.toInt() ?: 1009
4648

47-
versionName = "0.28.3"
49+
versionName = "0.28.4"
4850
System.getProperty("versionNameSuffix")?.let { versionNameSuffix = it }
4951

5052
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
@@ -77,19 +79,18 @@ android {
7779
resValue("string", "app_name", "NewPipe $suffix")
7880
}
7981
isMinifyEnabled = true
80-
isShrinkResources = false // disabled to fix F-Droid"s reproducible build
81-
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
82+
isShrinkResources = true
83+
proguardFiles(
84+
getDefaultProguardFile("proguard-android-optimize.txt"),
85+
"proguard-rules.pro"
86+
)
8287
}
8388
}
8489

8590
lint {
86-
checkReleaseBuilds = false
87-
// Or, if you prefer, you can continue to check for errors in release builds,
88-
// but continue the build even when errors are found:
91+
lintConfig = file("lint.xml")
92+
// Continue the debug build even when errors are found
8993
abortOnError = false
90-
// suppress false warning ("Resource IDs will be non-final in Android Gradle Plugin version
91-
// 5.0, avoid using them in switch case statements"), which affects only library projects
92-
disable += "NonConstantResourceId"
9394
}
9495

9596
compileOptions {
@@ -100,7 +101,7 @@ android {
100101

101102
sourceSets {
102103
getByName("androidTest") {
103-
assets.srcDir("$projectDir/schemas")
104+
assets.directories += "$projectDir/schemas"
104105
}
105106
}
106107

@@ -111,6 +112,7 @@ android {
111112
buildFeatures {
112113
viewBinding = true
113114
buildConfig = true
115+
resValues = true
114116
}
115117

116118
packaging {
@@ -270,7 +272,8 @@ dependencies {
270272
implementation(libs.lisawray.groupie.viewbinding)
271273

272274
// Image loading
273-
implementation(libs.squareup.picasso)
275+
implementation(libs.coil.compose)
276+
implementation(libs.coil.network.okhttp)
274277

275278
// Markdown library for Android
276279
implementation(libs.noties.markwon.core)

app/lint.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ SPDX-FileCopyrightText: 2026 NewPipe e.V. <https://newpipe-ev.de>
4+
~ SPDX-License-Identifier: GPL-3.0-or-later
5+
-->
6+
<lint>
7+
<issue id="MissingTranslation" severity="ignore" />
8+
<issue id="MissingQuantity" severity="ignore" />
9+
<issue id="ImpliedQuantity" severity="ignore" />
10+
</lint>

app/proguard-rules.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,8 @@
3939

4040
## For some reason NotificationModeConfigFragment wasn't kept (only referenced in a preference xml)
4141
-keep class org.schabi.newpipe.settings.notifications.** { *; }
42+
43+
# Prevent R8 from stripping or renaming Protobuf internal fields
44+
-keepclassmembers class * extends com.google.protobuf.GeneratedMessageLite {
45+
<fields>;
46+
}

0 commit comments

Comments
 (0)