Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to resolve: com.github.lisawray.groupie:groupie:2.9.0 #418

Open
AhmedShehatah opened this issue Jan 31, 2022 · 9 comments
Open

Failed to resolve: com.github.lisawray.groupie:groupie:2.9.0 #418

AhmedShehatah opened this issue Jan 31, 2022 · 9 comments
Labels

Comments

@AhmedShehatah
Copy link

Describe the bug
Currently I'm using Android Studio Bumblebee | 2021.1.1
and is shows me this '''Failed to resolve: com.github.lisawray.groupie:groupie:2.9.0'''

Library version
[2.9.0]

@september669
Copy link

Try this one "com.xwray:groupie:groupie:2.9.0"

@AhmedShehatah
Copy link
Author

AhmedShehatah commented Jan 31, 2022

Try this one "com.xwray:groupie:groupie:2.9.0"

Not Working

could it be a problem here ??

`
buildscript {
repositories {
google()
}
dependencies {
classpath 'com.google.gms:google-services:4.3.10'

}

}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.1.0' apply false
id 'com.android.library' version '7.1.0' apply false
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false

}

task clean(type: Delete) {
delete rootProject.buildDir
}

`

@AhmedShehatah
Copy link
Author

I found were the problem is jCent() was deprecated and in the new update for android studio they changed in settings.gradle
dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) repositories { google() mavenCentral() jcenter() // Warning: this repository is going to shut down soon maven { url 'https://jitpack.io' } } } rootProject.name = "appname" include ':app'
to
`dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()

}

}`

@rohankrgupta
Copy link

Hi, I am facing the same issue. Could you please explain what you did as I am still not able to integrate groupie into my project.

@Zhuinden
Copy link
Collaborator

Zhuinden commented Apr 3, 2022

You are probably missing this block in your settings.gradle

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }  // <--
        jcenter() // Warning: this repository is going to shut down soon
    }
}

@Asalle
Copy link

Asalle commented Dec 28, 2022

can anybody please explain the difference between com.github.lisawray.*** and com.xwray.***?

@Zhuinden
Copy link
Collaborator

@Asalle the difference is that the com.github.* variant is hosted on Jitpack, which is done to the new versions.

com.xwray was hosted on JCenter, and not only did we not really have the credentials to put newer versions there (I think?) the real issue is that JCenter is a read-only repository, updates cannot be put there. So this library is now hosted on Jitpack.

@chimbori
Copy link
Contributor

chimbori commented May 29, 2023

Any plans to host on Maven Central (or others, besides JitPack)?

@Zhuinden
Copy link
Collaborator

Zhuinden commented May 30, 2023

@chimbori the original maintainer kinda left, and even I haven't really had the time/energy/??? to make the necessary changes (for example, remove kotlinx synthetics).

Honestly, personally I want to remove the Section and just keep the ability to show Items, but didn't have the balls to say "lol 3.0 time to migrate".

Anywho, the fact that Jitpack allows us to host at all is great. But the current maintainers would have to have access to lisawray.com to host this lib on MavenCentral, and we don't have access to that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants