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
75
votes
20 answers

Failed to resolve: com.github.PhilJay:MPAndroidChart:v2.1.4

I'm using MPAndroidChart library in android studio. But when I'm trying to sync gradle I get an error as shown in below image. Gradle text is here to compile MPAndroidChart library. compile 'com.github.PhilJay:MPAndroidChart:v2.1.4' How can I…
pRaNaY
  • 24,642
  • 24
  • 96
  • 146
70
votes
10 answers

jitpack.io failed to resolve github repo

I have a Github repo and pushed tags on it. This is my gradle file of my main project. apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.0" defaultConfig { applicationId…
Ricardo
  • 7,921
  • 14
  • 64
  • 111
29
votes
3 answers

How to create a library on Github and use it through gradle dependencies in Android Studio

I want to create the library and have access to it through the Internet. In Android Studio (via Gradle) dependency may be added in this way: In build.gradle (Module app): dependencies { ... compile 'com.android.support:design:23.1.0' …
28
votes
8 answers

Gradle Received status code 403 from server: Forbidden

I can't build my android project due to this error. Gradle failed to GET https://www.jitpack.io/com/github/Raizlabs/DBFlow/dbflow/3.1.1/dbflow-3.1.1.pom . Strange enough I am able to view the pom file behind this URL in my browser. What might be the…
Chriss
  • 5,157
  • 7
  • 41
  • 75
27
votes
1 answer

Attach sources to kotlin library project don't show up in AS

I want to attach the sources to an kotlin library project and it looks I succeeded as I have the source-jars now in here: https://jitpack.io/com/github/walleth/kethereum/bip44/0.21/ the version before I did not export the sources - so I thought it…
ligi
  • 39,001
  • 44
  • 144
  • 244
22
votes
6 answers

Android Studio maven { url "https://jitpack.io" } can't download

Can't use anymore maven { url "https://jitpack.io" }. I have following gradle: apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applicationId "test.com.myapplication" minSdkVersion 19 …
Choletski
  • 7,074
  • 6
  • 43
  • 64
17
votes
6 answers

Gradle 7 and jitpack.io runs into error during publish

When I upgrade in an Android project to Gradle 7.0 and want to publish aar library in jitpack.io I run into Script '/script/maven-plugin.gradle' line: 2 * What went wrong: A problem occurred evaluating script. > Failed to apply plugin…
hannes ach
  • 16,247
  • 7
  • 61
  • 84
16
votes
2 answers

Forking gradle dependencies on Android

I have not developed Android for a while and I am trying to do things right with the new features as the Gradle dependencies. I am wondering what are the best practices when you need to modify one particular dependency for suiting you needs. For…
apascual
  • 2,970
  • 1
  • 20
  • 32
15
votes
1 answer

Unexpected tokens (use ';' to separate expressions on the same line) in build.gradle.kts

I can't add jitpack to build.gradle.kts it shows an error " Unexpected tokens (use ';' to separate expressions on the same line) " allprojects { repositories { google() jcenter() maven { url "https://jitpack.io" } } }
ahmed mostafa
  • 197
  • 2
  • 12
11
votes
2 answers

Can't publish on jitpack

I have a problem with publishing multi-flavor library to jitpack. The log says that build success but the status is error I've followed instructions on jitpack site but their sample uses old gradle version and it did not work with gradle 4.4 Here…
Mykhailo Yuzheka
  • 713
  • 1
  • 7
  • 24
10
votes
1 answer

How do you publish KDoc for a Kotlin library using maven on Jitpack?

Background After a lot of researching and trying out, and also asking for help, I've succeeded publishing a private Github repository using maven on Jitpack (written here). So, currently the files that I put on the repository for Jitpack are just…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
9
votes
5 answers

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. Error

I want to publish a library with Jitpackio. When I publish the library I get the following error; "Failed to apply plugin 'com.android.internal.application'. Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. …
gokmenbayram
  • 421
  • 4
  • 10
9
votes
6 answers

Jitpack: Failed to install the following Android SDK packages as some licences have not been accepted

I've googled, and some says it's fixed after few trys, and by creating a new release, but It doesn't seem to work for me. How can I resolve this? * What went wrong: A problem occurred configuring project ':analytics'. > Failed to notify project…
eugene
  • 39,839
  • 68
  • 255
  • 489
8
votes
2 answers

Cannot resolve jitpack dependencies in android studio in the last gradle version

I get Failed to resolve: com.github.dogecoin:libdohj:v0.15.9 error and I don't know why. I also tried other jitpack dependencies. It works fine in my previous projects. buildscript { ext { compose_version = '1.0.2' } repositories…
8
votes
1 answer

How to serve AAR files using jitpack

I want to publish an android library I've been working on using jitpack. But I want to do it without publishing the source-code. I don't want jitpack to build it, I uploaded the output from the builds ( the AAR files ) to github and I want to…
Tabish Imran
  • 417
  • 5
  • 15
1
2 3
15 16