Skip to content

Commit

Permalink
BraveNewPipe Release 0.27.2-2.2.0
Browse files Browse the repository at this point in the history
- sync with NewPipe 0.27.2
  • Loading branch information
evermind-zz committed Jul 25, 2024
1 parent 4a29ea2 commit 30d9e59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ android {
// the amount of trailing zeros depends on the amount of digits the
// defaultConfig.versionCode has -> we just prepend our increasing
// versionCode before those zeros.
def braveVersionCode = 31000
def braveVersionCode = 32000
// -> our versionName will be added as suffix to defaultConfig.versionName
// We use major.minor.patch
def braveVersionName = "2.2.0"
Expand Down Expand Up @@ -407,7 +407,7 @@ project.getDependencies().implementation("com.squareup.okhttp3:okhttp-urlconnect
configurations.all {
exclude group: 'com.github.TeamNewPipe', module: 'NewPipeExtractor'

project.getDependencies().implementation("com.github.bravenewpipe:NewPipeExtractor:v0.24.1-2.2.0")
project.getDependencies().implementation("com.github.bravenewpipe:NewPipeExtractor:v0.24.2-2.2.0")

if (it.getName().contains("braveLegacy") || it.getName().contains("BraveLegacy")) {
resolutionStrategy.dependencySubstitution {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ object BraveNewVersionWorkerHelper {

fun getVersionInfo(response: Response): JsonObject {
val newpipeVersionInfo = JsonParser.`object`()
.from(response.responseBody()).getObject("flavors")
.getObject("github").getObject("stable")
.from(response.responseBody()).getObject("flavors")
.getObject("github").getObject("stable")
return newpipeVersionInfo
}

}
}

0 comments on commit 30d9e59

Please sign in to comment.