QuatroGrade icon indicating copy to clipboard operation
QuatroGrade copied to clipboard

Failed to resolve: com.github.GIGAMOLE:QuatroGrade:1.0.0

Open oh1apps opened this issue 5 years ago • 5 comments

I've added jitpack repository to my build.gradle, buts still can't add dependency to Android Studio

oh1apps avatar Aug 06 '21 12:08 oh1apps

Hi. Let me check it.

GIGAMOLE avatar Aug 09 '21 07:08 GIGAMOLE

Have you been following the setup guide? https://github.com/GIGAMOLE/QuatroGrade#setup

GIGAMOLE avatar Aug 09 '21 07:08 GIGAMOLE

Add to the root build.gradle:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Add to the package build.gradle:

dependencies {
    implementation 'com.github.GIGAMOLE:QuatroGrade:{latest-version}'
}

Latest version is: .

GIGAMOLE avatar Aug 09 '21 07:08 GIGAMOLE

Yes, I have it configured as you described. To be clear - I've developed few apps in my life, so got this part figured out :) yet QuatroGrade seems to doesn't exist in repos... I saw that in your sample project, implementation for library is commented  out so assumed there is some bug with publishing. But seems that's not the case.

I can send you tonight exact error message from gradle sync On 9 sie 2021, 09:42 +0200, Basil Miller @.***>, wrote:

Add to the root build.gradle: allprojects { repositories { ... maven { url 'https://jitpack.io' } } } Add to the package build.gradle: dependencies { implementation 'com.github.GIGAMOLE:QuatroGrade:{latest-version}' } Latest version is: . — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

oh1apps avatar Aug 09 '21 07:08 oh1apps

Got it. The commented code is just to show the example of the dependency path.

As you can see here: https://jitpack.io/#GIGAMOLE/QuatroGrade - the 1.0.0 package exists. (Check the logs: https://jitpack.io/com/github/GIGAMOLE/QuatroGrade/1.0.0/build.log) Also, I checked on my PC and the remote dependency works fine.

Try to clear your build and Gradle caches (local and global).

GIGAMOLE avatar Aug 09 '21 10:08 GIGAMOLE