jitpack.io
jitpack.io copied to clipboard
Download library takes forever
When i add a library that hosted at jitpack from a gradle file, for example
implementation 'com.github.IONsoft-Indonesia:RandomNumberAnimation:1.2'
Then i sync gradle, it will takes forever. It will stuck at
Gradle: Metadata of https://jitpack.io/com/github/IONsoft-Indonesia/RandomNumberAnimation/1.2/RandomAnimationAnimation-1.2-sources.jar
At first i think it is because of the library problem, but the problem also exist on other libraries.
I already tried to change my internet connection, use vpn, invalidate caches and restart android studio, tried on both my iMac and Macbook, but still no luck.
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}
artifacts {
archives sourcesJar
}
Add above configuration to library's build.gradle
There was no such problem before, and it appeared today.
Same question here.There was no such problem before, and it appeared today.
same problem here and occurred today.
Same problem.... 👎
Silly me, i just added the library module directly to my project without knowing that it can be solved with @zeropercenthappy workaround 🙄
I just want to know whether it's a server problem or a code problem
I had the same issue, and fixed it by following the instructions on this page: https://jitpack.io/docs/ANDROID/
@Julesssss No Use
@r17171709 Did you add this code to the library project or the client project?
Is there any official statement from the @jitpack-io team, that we can reference here?
@Alexander-Krause Not yet when I posted this issue, because I have googled and searched for it.
This must be a server problem, as it was not breaking before today. It sounds like it could be a path issue or something similar where the server is not returning a 404 or a different response when the sources jar is not found, therefore causing the entire dependency to be unresolved. So therefore only libraries with properly set up sources.jars will be able to resolve.
Why no official reply has been received until now
@Julesssss client project
Hi all, There was an issue getting files that don't exist - the request would hang. This was caused by a system upgrade during the weekend but has now been rolled back. Due to lower amount of traffic on weekends we didn't spot an issue straight away and existing files were resolving fine. We've been dealing with it through our support system so apologies for missing this ticket. Will be taking steps to ensure we check this scenario in future upgrades.
Does anyone still have the problem?
I added
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
But nothing changed, it still hangs
If you have the same problem with us,You don't have to do anything because the official has repaired that
Well, not for me unfortunately..
As I wrote, I still have the problem, click here and then on "Commits", you'll see all my recent commits hanging indefinitely
I think we have the different problem. I add "com.github.kotlin-graphics:glm:v1.0.1". I stuck it in jcenter Instead of jitpack-io
Started having this issue today.
bump