infinum / Android-Goldfinger

Android library to simplify Biometric authentication implementation.
Apache License 2.0
653 stars 73 forks source link

Gradle can't find Goldfinger:core:unspecified #81

Open ferdyrod opened 1 year ago

ferdyrod commented 1 year ago

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

Aksi0m commented 1 year ago

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?

ferdyrod commented 1 year ago

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"
}
bakero98 commented 1 year ago

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

sst-tim commented 2 weeks ago

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?