Questions tagged [jitpack]

JitPack.io is an easy to use package repository for GitHub. It builds GitHub projects on demand and publishes ready-to-use packages.

jitpack.io is an easy to use package repository for JVM and Android.
JitPack builds GitHub projects on demand and provides ready-to-use packages.

240 questions
3
votes
1 answer

How can we fork opencv-android repo and use it in own project?

I had used openCV for android from this repo https://github.com/quickbirdstudios/opencv-android. its worked and also camera was running. But there is a issue with camera orientation in this repo. So I just forked and published mine using…
Balasubramanian
  • 5,274
  • 6
  • 33
  • 62
3
votes
0 answers

422 : Unprocessable Entity when trying to publish maven repository using Sky-uk gradle-maven-plugin

I'm trying to create an android library using Jitpack. Now since the maven plugin in the docs is deprecated, I'm trying to use the one by sky-uk from here. But when I try to publish the repository, I get the following error: Execution failed for…
Rishabh Jain
  • 297
  • 2
  • 13
3
votes
0 answers

Use Maven dependency with special characters in artifactId

I want to add a Maven dependency that's hosted on the JitPack repository. The artifactId contains dots and, therefore, cannot be downloaded due to issues within JitPack's infrastructure. The workaround is to replace . with ~. But Maven forbids the…
mike
  • 4,929
  • 4
  • 40
  • 80
3
votes
0 answers

JitPack build failed due to Android SDK license agreement

I have an Android library on my Github: CalendarView, which I forked from the original author. I published my Android library on Jitpack. I created releases in GitHub, with git tag. For release tags: v1.0, v1.1, the build on Jitpack was…
Shuwn Yuan Tee
  • 5,578
  • 6
  • 28
  • 42
3
votes
2 answers

How to use my github repository as dependency in android?

The problem is, I previously used a github repository (https://github.com/kenglxn/QRGen) as my dependency: compile 'com.github.kenglxn.QRGen:android:2.4.0' It worked fine but now i have forked the repository, made some changes and I'm trying to use…
3
votes
1 answer

Jitpack is failing to build my library due to unkown task 'install'

I'm trying to compile my library, using jitpack, but i consistenly get the 'failed to resolve: $library-dependency' When i build my app. The gradle files are configured properly, so i checked out the jitpack logs for my build, and it's giving me the…
whompum
  • 69
  • 2
  • 12
3
votes
2 answers

Gradle dependency for MPAndroidChart not working in Android Studio

Trying to install MPAndroidChart, I tried to follow the instructions in the Readme for adding the library as a gradle dependency. EDIT: I didn't edit the top-level build.grade file, only the build.gradle file in my app directory. The latter looks…
3
votes
6 answers

jitpack.io - failure to resolve

I'm trying to import a library using jitpack.io. Here's my top-level build.gradle: buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.5.0' // NOTE: Do not place…
shebang
  • 79
  • 1
  • 7
3
votes
1 answer

gradle run executes; compiled JAR crashes with ClassNotFoundException

Why does the client JAR crash, java.lang.NoClassDefFoundError, caused by ClassNotFoundException, yet run from gradle works fine? There's a problem with how the client uses the library JAR? thufir@mordor:~/NetBeansProjects/hello_client$…
Thufir
  • 8,216
  • 28
  • 125
  • 273
3
votes
1 answer

set up custom domain name in Jitpack

I'm trying to publish a library using Jitpack. By default the groupId is set to com.github.username.repo but I would like it to be com.mydomain.libs instead. The official docs say that for that I need to Add a DNS TXT record that maps…
netimen
  • 4,199
  • 6
  • 41
  • 65
2
votes
2 answers

jitpack.io status code 521 from server Android Studio

My app was working great in the past. From this morning suddenly when I run the app from Android Studio this error shows: Could not GET 'https://jitpack.io/androidx/fragment/fragment/maven-metadata.xml'. Received status code 521 from server:…
Maria
  • 23
  • 4
2
votes
0 answers

Switch Maven repository 'cache(http://cache)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols

I'm using a buildSrc module in my Android library project, and a jitpack build at jitci.com fails with the error message shown below. However, locally, the project builds and runs on my phone fine, and a jitpack build of the latest project release…
Raj Narayanan
  • 2,443
  • 4
  • 24
  • 43
2
votes
1 answer

"Android Gradle plugin requires Java 11 to run" While publishing jitpack library

I'm trying to publish an empty jitpack library for test purposes by using this github repo But I'm having * What went wrong: An exception occurred applying plugin request [id: 'com.android.application'] > Failed to apply plugin…
Emre Akcan
  • 982
  • 10
  • 27
2
votes
2 answers

How to solve Jitpack "ERROR: No build artifacts found"?

Jitpack builds my project with this logs. As you can see there is an error: "ERROR: No build artifacts found". What i do wrong? Here is my gradle.build: plugins { id 'java' id 'maven-publish' } group 'com.github.azzztec' version…
raury
  • 85
  • 1
  • 7
2
votes
0 answers

How does JitPack handle subdirectories?

I have in the past successfully used JitPack to import dependencies directly from their Git repos, having them built on the fly if necessary. Just add JitPack as a repository and replace the group ID with something à la com.gitlab.username (reverse…
user149408
  • 5,385
  • 4
  • 33
  • 69