Android-Goldfinger icon indicating copy to clipboard operation
Android-Goldfinger copied to clipboard

Gradle can't find Goldfinger:core:unspecified

Open ferdyrod opened this issue 3 years ago • 5 comments

Hi,

We are using the library for some time now and are in the process of removing jcenter from our project. I'm following the readme in our project and also in a brand new clean project and gradle can't build because it can't find Goldfinger:core:unspecified

image

ferdyrod avatar Nov 16 '22 15:11 ferdyrod

Hey @ferdyrod

Did you manage to resolve this issue?

It could be a cache issue, try to clean your gradle cache.

You can see that Goldfinger is present here in maven central.

Can you c/p the dependencies you use for goldfinger?

Aksi0m avatar Nov 29 '22 10:11 Aksi0m

Hi @Aksi0m, thanks for getting back to me.

I'm still having problems. I've clean gradle cache.

I think that the problem lies that the rx module tries to implement :core. If I just use the co.infinum.goldfinger:2.0.1 it build correctly. Is when I add co.infinum.goldfinger-rx:2.0.1 that fails.

This is my dependencies configuration

dependencies {
    implementation 'co.infinum:goldfinger:2.0.1'
    implementation 'co.infinum:goldfinger-rx:2.0.1'

    implementation 'androidx.core:core-ktx:1.7.0'
    implementation "androidx.compose.ui:ui:$compose_version"
    implementation 'androidx.compose.material3:material3:1.0.0-alpha01'
    implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
    implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
    implementation 'androidx.activity:activity-compose:1.3.1'
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.4'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
    androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
    debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
    debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
}

ferdyrod avatar Nov 29 '22 11:11 ferdyrod

Hi @ferdyrod, I will take a look at this. Thank you

bakero98 avatar Nov 30 '22 08:11 bakero98

Hi, I am getting same issue currently on this.

Failed to resolve: Goldfinger:core:unspecified

I cannot find anywhere there is a Goldfinger as the groupId and core as the artifactId. Also the unspecified version as well. Where is this version even being published from?

sst-tim avatar Aug 20 '24 10:08 sst-tim