-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle unable to download NewPipeExtractor #1066
Comments
Had the same issue. After hours of time wasted, I just forked this repo and replaced the line
it does compile successfully. I have no idea why it is like that. |
Could it be that it's because TeamNewPipe is an organization? |
Solved it! Seems it's case sensitive. |
Yes, it works :\ |
Any other workaround? I can not make it work, but It works with other libraries from Jitpack |
You have other problems @shalva97 it is case-sensitive. Works fine for all. Verify your config. (Don't just thumbs down) |
it is caused by JVM toolchain. For some reason Intellij generates new projects with plugins {
kotlin("jvm") version "1.9.0"
application
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven { setUrl("https://jitpack.io") }
}
dependencies {
testImplementation(kotlin("test"))
implementation("com.github.teamnewpipe:NewPipeExtractor:v0.22.7")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(11)
}
application {
mainClass.set("MainKt")
} |
strangely it works 👍🏻 |
from TeamNewPipe/NewPipeExtractor#1066 Execution failed for task ':app:dataBindingMergeDependencyArtifactsLeanbackJavaArm64_v8aRelease'. > Could not resolve all files for configuration ':app:leanbackJavaArm64_v8aReleaseCompileClasspath'. > Could not find com.github.TeamNewPipe.NewPipeExtractor:NewPipeExtractor:289db1178ab66694c23893e6a487d4708343c47b. Signed-off-by: Wade.Cheng <cugwei@gmail.com>
Can we please get this adapted in the README?
|
Despite adding the
implementation
line as described in the README, gradle searches for the artifact in the wrong urls, specifically it searches for them in theextractor
andNewPipeExtractor
subdirectories which don't exist.It tries to open
https://jitpack.io/com/github/TeamNewPipe/NewPipeExtractor/extractor/v0.22.1/extractor-v0.22.1.pom
https://jitpack.io/com/github/TeamNewPipe/NewPipeExtractor/NewPipeExtractor/v0.22.1/NewPipeExtractor-v0.22.1.pom
While the correct url is
https://jitpack.io/com/github/TeamNewPipe/NewPipeExtractor/v0.22.1/NewPipeExtractor-v0.22.1.pom
For reference, this is my
build.gradle.kts
:The text was updated successfully, but these errors were encountered: