Fix local NewPipeExtractor build inclusion in settings.gradle.kts#12765
Merged
TobiGr merged 1 commit intoTeamNewPipe:devfrom Nov 2, 2025
Merged
Conversation
- Resolves build issue related to local NewPipeExtractor inclusion - Related issue: TeamNewPipe#12763
Contributor
Author
the 1st build errorerror logkey information
whyold file but it fails again, but reports different log, please see the below. |
Contributor
Author
the 2nd build errorerror logwhyKotlin DSL does not support Groovy-style command chains or implicit method calls. |
Contributor
Author
|
Thanks 🙂 happy to contribute! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is it?
Description of the changes in your PR
description
This PR updates the commented example block in
settings.gradle.ktsto fix the build error while including theNewPipeExtractorfor local.'...') with double quotes ("...")substitutesyntax to the Kotlin DSL form, here is the new code:reason
This was caused by #12706
settings.gradleis coded with Groovy DSL syntax,settings.gradle.ktsis coded with Kotlin DSLHere is the current comment block in the file:
However, since this file uses Kotlin DSL (.kts), the single quotes ('...') and the Groovy-style chained syntax are not valid in Kotlin.
I have written the details in the comment below.
Before/After Screenshots/Screen Record
settings.gradle.kts.Fixes the following issue(s)
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.
devbranch — project builds cleanly with the updated snippet.Due diligence