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
4
votes
1 answer

jitpack - Received status code 521/401/403 from server

My build setting is like below. And I get Received status code 521 from server when I build. buildscript { // ... repositories { google() mavenCentral() } dependencies { classpath…
c-an
  • 3,543
  • 5
  • 35
  • 82
4
votes
1 answer

How to download aar and pom file from jitpack.io manually?

One of my clients has a restricted environment to fetch few transitive dependencies in the Android studio. One of dependecy DSBridge-Android which is serving by jitpack.io is failing to fetch due to network restrictions. I couldn't find the option…
raghu
  • 671
  • 5
  • 16
4
votes
1 answer

Failed to apply plugin 'com.android.internal.application' Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8

I want publish a simple library in jitpack. I create an Android project and add new Android library module and push project to github. Edit build.gradle library module like this and add maven { url 'https://jitpack.io' } to root build.gradle But I…
Alireza
  • 79
  • 1
  • 9
4
votes
1 answer

Failed to resolve transitive dependencies on JitPack release

I'm working on building an android library and I want to include a dependency of the library as a transitive dependency into my app. Here's my library's build.gradle file: plugins { id 'com.android.library' id…
4
votes
3 answers

Gradle build jitpack error android studio

I'm having problem with Gradle build since 2 days when I am build Gradle. Error: Could not HEAD 'https://jitpack.io/com/crashlytics/sdk/android/crashlytics/2.9.7/crashlytics-2.9.7.pom'. Received status code 522 from server: Origin Connection…
Sandip
  • 593
  • 4
  • 20
4
votes
4 answers

Error in library built with jitpack: Unable to resolve dependency for ':app@debug/compileClasspath'

I am trying to publish my android library on jitpack.io but when I tried to add dependency to test my artifact I am getting this error: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve…
Pasha Oleynik
  • 477
  • 5
  • 21
4
votes
3 answers

Library dependency issues with gradle 3.0.0-alphaX

I have a library project with submodules that include many dependencies that I'd like to pass to the developer's application. For example, module A may include all the necessary appcompat dependencies. With the migration changes, I've updated all…
Allan W
  • 2,791
  • 4
  • 23
  • 41
4
votes
1 answer

Different groupId (and version) for a same Maven project

I have a project in which a Maven project is deployed in two different ways using two groupIds and different versions. For example: a) Depends on a branch (using jitpack): com.github.user
novice
  • 800
  • 2
  • 11
  • 25
4
votes
1 answer

JitPack won't use a GitHub repo - included sample repo that demonstrates the issue

Every time I try to fork an Android library and use it through JitPack, I get errors, give up and choose some other means to customize and use the library. This time I wanted to get to the bottom of this and created a basic app that isolates the…
Gazihan Alankus
  • 11,256
  • 7
  • 46
  • 57
4
votes
3 answers

Unable to use JitPack repository - Android

All day I'm trying to add my Android library to Github with JitPack. I did everything described on: https://jitpack.io/docs/ANDROID/, with no success. The problem is, when i try to build project, Android Studio give me message: Error:(47, 13) Failed…
IlIlIl
  • 115
  • 9
4
votes
1 answer

How to import library from jitpack.io using gradle?

I tried following these instructions so the related parts of my build.gradle (app) looks like this: buildscript { repositories { maven { url 'https://maven.fabric.io/public' } maven { url 'https://jitpack.io' } } compile…
Alejandro H. Cruz
  • 507
  • 1
  • 7
  • 15
4
votes
1 answer

Add sources to JitPack artifact

I have a public GitHub repository with a Maven managed project. I am using JitPack as Maven repo to deploy artifact versions, and it works like a charm. However, I don't know how to add a new artifact with sources classifier. Someone knows how to…
malaguna
  • 4,183
  • 1
  • 17
  • 33
3
votes
0 answers

Uploading Android library to Jitpack gives errors

I am trying to upload an Android library (written in Java) on jitpack.io. This is the build.gradle file of the library. plugins { id 'com.android.library' id 'maven-publish' } android { compileSdkVersion 33 buildToolsVersion…
George
  • 255
  • 8
3
votes
1 answer

Gradle 'publishToMavenLocal' task not found. Please add the 'maven-publish' or 'maven' plugin

I got an error when I deployed my library on jitpack eoor are below. and I have use Project full error is here ---> Build starting... Start: Fri May 27 13:31:41 UTC 2022 67cf7f81daef Git: edb3881 commit…
Laxmi kant
  • 128
  • 1
  • 11
3
votes
1 answer

Cannot find dependency from jitpack.io repository

i want to use dependency that needs a jitpack.io repository Cannot find dependency when I try to sync , While available at jitpack.io language kotlin my gradle plugin version is 7.0.1 my gradle version is 7.0.2 Everything is…
MoeinGL
  • 31
  • 2
1 2
3
15 16